This article covers the implementation of the Drawer with individual FloatingActionButtons for each page.

Firstly, let’s set up the object class for drawer items:

class DrawerItem {
String title;
IconData icon;
DrawerItem(this.title, this.icon);
}

Next, the essential variables:

int _selectedDrawerIndex = 0;

Then, we need to build the navigation items:

List<Widget> _buildNavigationItems()
{
List<Widget> list = [];

Prem Adithya

A mobile developer & UI/UX designer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store