MainDrawer singleton
This commit is contained in:
parent
4e50f5e8f7
commit
eeee50d09b
4 changed files with 17 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ class HomePage extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return new Scaffold(
|
||||
key: _scaffoldKey,
|
||||
drawer: new MainDrawer(context),
|
||||
drawer: MainDrawer.getDrawer(context),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
|
||||
floatingActionButton:
|
||||
Column(mainAxisAlignment: MainAxisAlignment.end, children: <Widget>[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue