Is there a way to detect if there is any open drawer?

I have a Flutter app that displays an animation. I want the animation to pause if there is an open Drawer or a modal dialog (like <code>showModalBottomSheet</code>) di...

How to detect the outside of the drawer

How to detect the outside in the image? To open the drawer I already know its function, but to tap the right side of the drawer I don't know <img src="ht...

Flutter: preserve state when changing body in Drawer

I am creating a Flutter application with a navigation drawer by using the <code>Drawer</code> class of the Material library. The <code>Widget</code> containing the <co...

How to create an expandable list in Flutter navigation drawer that uses single app bar for different screens

I need to develop a navigation drawer in flutter and I'm new to flutter, I am using the following code, and this is creating the menu as expected but the problem is</p...

DrawerItem class missing in flutter Dart

I am currently learning to develop apps using flutter, I saw a video where DrawerItem class is used and when I type DrawerItem it shows me an error stating that the cl...

How to update the drawer content only

We are using a Drawer to display the settings state. I would like the user to be able to change a setting and see the result reflected in the drawer. <...

Correct Flutter navigation practice in Drawer

Quick question on navigation between Flutter screens from a re-usable drawer in Material App. I have a drawer set up with two navigation options in a list to Sc...

How do I change the height of the DrawerHeader in flutter?

I want to change the height of the drawer header. I have created a side bar with the help of the drawer but not able to change the height of drawer header. I'm...

How To - Flutter Drawer with persistent child screens

I am new to Flutter and am trying to find out how to achieve something that I have done with web programming, namely to have an app that has several 'areas' that can a...

How to close the navigation drawer when returning back from a particular screen automatically in flutter?

I am working on a flutter project which has a navigation drawer with three routes. Whenever i go to a particular route and come back, the navigation drawer gets opened...

Combining bottom navigation bar and a Drawer

<strong>context</strong>: my app navigation relies on one screen with a scaffold and a BottomNavigationBar containing BottomNavigationBarItems. If you click an item, i...

Making fixed app-wide menu instead of Drawer on tablets in Flutter

My application has a lot of routes and almost every route uses Scaffold with the same Drawer menu to navigate inside the app (my own CustomDrawer widget). As for devic...

Flutter: How to switch to a page which already is in the Navigator stack?

I have a drawer with named routes to different search pages. Pushing a route navigates to a search page. Each item in a search page navigates to a detail page. The bac...

Flutter - Fix Drawer Header

Following this link <a href="https://flutter.io/docs/cookbook/design/drawer" rel="noreferrer">Add a Drawer to a screen</a> I have created a drawer. Following...

Fix last element of ListView to the bottom of screen

I am trying to implement a custom navigation drawer using Flutter. I would like to attach log out option to the bottom of the drawer. The problem is that number of ele...