Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 10, 2022 11:37 am GMT

Flutter multiplatform navigation sidebar / drawer widget

SidebarX - package to create beautiful and convenient sidebar navigation widgets easy

MobileDesktopWeb
MobileWebDesktop

The package is designed with maximum adaptation to large screens.
Therefore, adding a widget to your screen will be very simple.

Scaffold(  body: Row(    children: [      SidebarX(        controller: SidebarXController(selectedIndex: 0),        items: const [          SidebarXItem(icon: Icons.home, label: 'Home'),          SidebarXItem(icon: Icons.search, label: 'Search'),        ],      ),      // Your app screen body    ],  ),)

Customization

Package have huge customization fields list and by default can adjust to the theme of your application.

For example - you can change colors, textStyles, add your custom builders for sidebar items and all what you need.

Go to the GitHub repository page!
Here you can see beautiful examples of usage and code snippets.

Show some and star the repo to support the project!


Original Link: https://dev.to/frezyx/flutter-multiplatform-navigation-sidebar-drawer-widget-4ecj

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To