App Bar
This commit is contained in:
@@ -54,16 +54,13 @@ class _SplashPageState extends State<SplashPage> {
|
|||||||
|
|
||||||
Provider.of<Feed>(context, listen: false).feed;
|
Provider.of<Feed>(context, listen: false).feed;
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
|
appBar: AppBar(actions: [
|
||||||
|
IconButton(
|
||||||
|
onPressed: () => DbHelper.logout(),
|
||||||
|
icon: const Icon(Icons.logout),
|
||||||
|
)
|
||||||
|
]),
|
||||||
body: tabs.elementAt(currentPageIndex),
|
body: tabs.elementAt(currentPageIndex),
|
||||||
// const Column(
|
|
||||||
// children: [
|
|
||||||
// Text('Logged in!'),
|
|
||||||
// TextButton(
|
|
||||||
// onPressed: DbHelper.logout,
|
|
||||||
// child: Text('Log out'),
|
|
||||||
// ),
|
|
||||||
// ],
|
|
||||||
// ),
|
|
||||||
bottomNavigationBar: BottomNavigationBar(
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
items: const <BottomNavigationBarItem>[
|
items: const <BottomNavigationBarItem>[
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user