MainDrawer singleton

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-03 20:24:26 +02:00
parent 4e50f5e8f7
commit eeee50d09b
4 changed files with 17 additions and 4 deletions

View file

@ -203,7 +203,7 @@ class _ActiveFiresPageState extends State<ActiveFiresPage> {
return Scaffold(
key: _scaffoldKey,
// FIXME new?
drawer: new MainDrawer(context),
drawer: MainDrawer.getDrawer(context),
appBar: new AppBar(
title: Text(title),
leading: IconButton(