What is a Drawer Functionality in Flutter Widget


 Hi all, need to provide navigation to other pages try using a drawer to use it start with a scaffold widget then pass a drawer widget as an argument to the scaffold drawer parameter a scaffold with an app, the bar will automatically add a button to the app bar that opens the drawer you can also use the end drawer parameter to show a drawer on the right side to show the drawer programmatically get the scaffold state and call open drawer or open-end for dismissing the drawer is as easy as swiping it to the left or by using the Navigator showing a drawer as a new route to the navigation stack a drawer can contain any widget you like but it's common to use a list view with a drawer header and list tiles for more info on drawer and all the other widgets check out Federov. Thank you all.

Post a Comment


Post a Comment (0)