simple Navigation
This commit is contained in:
@@ -37,8 +37,8 @@ class _SplashPageState extends State<SplashPage> {
|
|||||||
if (DbHelper.currentUser == null) {
|
if (DbHelper.currentUser == null) {
|
||||||
return const LoginPage();
|
return const LoginPage();
|
||||||
}
|
}
|
||||||
return const Scaffold(
|
return Scaffold(
|
||||||
body: Column(
|
body: const Column(
|
||||||
children: [
|
children: [
|
||||||
Text('Logged in!'),
|
Text('Logged in!'),
|
||||||
TextButton(
|
TextButton(
|
||||||
@@ -47,6 +47,18 @@ class _SplashPageState extends State<SplashPage> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
|
items: const <BottomNavigationBarItem>[
|
||||||
|
BottomNavigationBarItem(
|
||||||
|
icon: Icon(Icons.settings),
|
||||||
|
label: 'Settings',
|
||||||
|
),
|
||||||
|
BottomNavigationBarItem(
|
||||||
|
icon: Icon(Icons.home),
|
||||||
|
label: 'Home',
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user