states_rebuilder icon indicating copy to clipboard operation
states_rebuilder copied to clipboard

Close drawer & bottomSheet programmatically

Open tontonanrakyat opened this issue 2 years ago • 1 comments

RM.scaffold.openDrawer() RM.scaffold.openEndDrawer() RM.scaffold.showBottomSheet()

Please add an example to ex004_00_navigation folder how to close/hide/remove drawer, endDrawer, bottomSheet programmatically.

I tried Navigator.back() or Navigator.pop(context), but it's give me back to previous screen instead of close the drawer.

tontonanrakyat avatar Jun 12 '22 19:06 tontonanrakyat

I think I needed this the last time I was working on my app. Thanks for sharing!

topcheese avatar Jun 15 '22 07:06 topcheese

Example add https://github.com/GIfatahTH/states_rebuilder/blob/master/examples/ex004_00_navigation/lib/ex19_dialogs.dart

GIfatahTH avatar Dec 25 '22 09:12 GIfatahTH

Thank you so much.

tontonanrakyat avatar Dec 28 '22 22:12 tontonanrakyat