Skip to content

About

This is an easy to use Flutter Package for adding Fancy Foldable Sidebar to your Flutter Applications.

Resources

Stars

87 stars

Watchers

4 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Foldable Sidebar

An easy to implement Foldable Sidebar Navigation Drawer for Flutter Applications.

Current Features

  • Initial Release for Foldable Navigation Sidebar

Your Support means a lot!

Buy Me A Coffee

Demo

Usage

To Use, simply add FoldableSidebarBuilder to your Scaffold's body, as follows:

      child: Scaffold(
      body: FoldableSidebarBuilder(
                drawerBackgroundColor: Colors.deepOrange,
                drawer: CustomDrawer(closeDrawer: (){
                  setState(() {
                    drawerStatus = FDBStatus.FDB_CLOSE; // For Closing the Sidebar
                  });
                },),
                screenContents: FirstScreen(), // Your Screen Widget
                status: drawerStatus,
              ),
              floatingActionButton: FloatingActionButton(
                  backgroundColor: Colors.deepOrange,
                  child: Icon(Icons.menu,color: Colors.white,),
                  onPressed: () {
                    // To Open/Close Sidebar
                    setState(() {
                      drawerStatus = drawerStatus == FDBStatus.FDB_OPEN ? FDBStatus.FDB_CLOSE : FDBStatus.FDB_OPEN;
                    });
                  }),
            ),
           ),

Important Enums:

FSBStatus.FSB_OPEN //For Opening the Sidebar
FSBStatus.FSB_CLOSE  //For Closing the Sidebar

Roadmap

Plans to add more customizations.

License

MIT

About

This is an easy to use Flutter Package for adding Fancy Foldable Sidebar to your Flutter Applications.

Resources

Stars

87 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages