build like this
This commit is contained in:
@@ -22,7 +22,7 @@ class _BasePageState extends State<BasePage> {
|
||||
});
|
||||
}
|
||||
|
||||
Widget currentView = MapPage();
|
||||
Widget currentView = MainPage();
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final ThemeData theme = Theme.of(context);
|
||||
@@ -51,7 +51,7 @@ class _BasePageState extends State<BasePage> {
|
||||
// Update the state of the app
|
||||
_onItemTapped(0);
|
||||
// Then close the drawer
|
||||
currentView = MapPage();
|
||||
currentView = MainPage();
|
||||
Navigator.pop(context);
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user