flutter screen hidden drawer dont show on all pages
class MyDrawer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Drawer(...);
}
}
---------------------------------------------------------
And then when using it in each page:
Scaffold(
drawer: MyDrawer(...),
...
)