Flutter Drawer

Sidebar used in mobile apps for navigation


Used it as the drawer in throught the app.

Example:

return Scaffold(
  drawer: NowDrawer(currentPage: "Elements"),
  body: Container()
);

Parameters

You can always hover with your mouse on any object and see its types and parameters.

Parameter Type Default Description
currentPage String   This parameter is used in order to help the drawer understand which is the current page and how it can deal with it.