📱 Flutter
Beginner
What is the Drawer widget?
Answer
The Drawer widget creates a sliding navigation panel that appears from the left edge of the screen. It is assigned to the drawer property of a Scaffold and is typically revealed when the user taps the hamburger menu icon in the AppBar. A Drawer usually contains a DrawerHeader (for user info) and a ListView of ListTile navigation items. Close it programmatically with Navigator.pop(context).
Previous
What is the BuildContext in Flutter?
Next
What is the difference between final and const in Dart?