build like this

This commit is contained in:
2024-05-20 12:09:33 +02:00
parent cf65c8fb38
commit 94ae0427f0
3 changed files with 4 additions and 4 deletions

View File

@@ -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);
},
),