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

@ -178,7 +178,7 @@ class _FireNotificationListState extends State<FireNotificationList> {
return Scaffold(
key: _scaffoldKey,
drawer: new MainDrawer(context),
drawer: MainDrawer.getDrawer(context),
appBar: new AppBar(
title: Text(title),
leading: IconButton(