How to place Drawer widget on the right. Also is possible to place two Drawer widget in a single page one either side of the appbar
Widget build(BuildContext
If you want to keep the button on right and the drawer in the left, then add the hamburger button inside a container, so that hamburger button will be on the right side and the navigation drawer remains in the left side. (not recommended)
new Container(
alignment: Alignment.topRight,
margin: EdgeInsets.only(top: 20.0, right: 10.0),
child: IconButton(
icon: Icon(Icons.menu,
size: 24,
color: Colors.white,),
onPressed: () => scaffoldKey.currentState.openDrawer(),
),
)
endDrawer:Drawer(child:Center(child:Columun( children: <Widget>[
Text('End Drawer) ],
),))
By using endDrawer: ... instead or in addition to drawer: ... to set a drawer.
See also https://docs.flutter.io/flutter/material/Scaffold/endDrawer.html