mitesh77 / Best-Flutter-UI-Templates

completely free for everyone. Its build-in Flutter Dart.
Other
20.2k stars 4.51k forks source link

Menu drawer not closing #33

Closed ksankumar closed 3 years ago

ksankumar commented 4 years ago
  1. Open the menu drawer.
  2. Tab the native back button.(Android)
  3. Drawer not getting closed.
mitesh77 commented 4 years ago

it working fine. no issue

ksankumar commented 4 years ago

is this closing if you tab back button in android?

emem365 commented 4 years ago

@mitesh77 , He is trying to close the drawer by pressing the native back button on his screen. While the drawer, mostly does this on its own, since you've created a custom drawer, you might have overlooked this. I can look into this if you'd like :)

emem365 commented 4 years ago

We probably just need to wrap the whole thing in a WillPopScope widget. I can create a PR, if you'd like to add this