Skip to content

luvvvdev/swiper_text_nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Navigation text bar for Swiper

Preview

Example

class Library extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return LibraryState();
  }
}

class LibraryState extends State<Library> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Color.fromRGBO(34, 40, 49, 1.0),
      body: Container(
          padding: EdgeInsets.only(top: 30),
          child: Stack(
            children: <Widget>[
              Container(
                child: Swiper.children(
                  autoplay: false,
                  loop: false,
                  pagination:
                      PaginationTab(titles: ['Movies', 'Series', 'Cartoons']),
                  children: <Widget>[
                    Movies(),
                    Series(),
                    Cartoons(),
                  ],
                ),
              )
            ],
          )),
    );
  }
}

Releases

No releases published

Packages

No packages published

Languages