asnavigationdrawer 0.0.1 copy "asnavigationdrawer: ^0.0.1" to clipboard
asnavigationdrawer: ^0.0.1 copied to clipboard

outdated

We created flutter package ASNavigationDrawer, is a delightful library manager for navigation drawer with customized header

asnavigationdrawer #

Getting Started #

  • ASNavigationDrawer is flutter package that writen in Dart language for navigation drawer menu with customized header.

How to use ? #

//INITIALIZE DRAWER ITEMS
List<DrawerItem> drawerItems() {
  return [
    new DrawerItem("Profile", Icons.person_outline),
    new DrawerItem("Settings", Icons.settings),
  ];
}

//INITIALIZE DRAWER PAGES
List<StatelessWidget> drawerPages() {
  return [
    new Page1(), //Page1() IS StatelessWidget IN YOUR PROJECT
    new Page2(),
  ];
}

//ADD WIDGET THAT RETURNS AsNavigationDrawer IN body
@override
Widget build(BuildContext context) {
  return new Scaffold(
    body: AsNavigationDrawer(drawerItems(), drawerPages()),
  );
}
0
likes
10
pub points
0%
popularity

Publisher

verified publisheratharvasystem.com

We created flutter package ASNavigationDrawer, is a delightful library manager for navigation drawer with customized header

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on asnavigationdrawer