mirror of
https://github.com/git-touch/git-touch
synced 2024-12-16 18:28:51 +01:00
feat: bottom navigation style
This commit is contained in:
parent
7056d51237
commit
68c1be406d
@ -64,6 +64,7 @@ class _HomeState extends State<Home> {
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: _buildNotificationIcon(context),
|
||||
activeIcon: Icon(Icons.notifications),
|
||||
title: Text('Notification'),
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
@ -76,6 +77,7 @@ class _HomeState extends State<Home> {
|
||||
),
|
||||
BottomNavigationBarItem(
|
||||
icon: Icon(Icons.person_outline),
|
||||
activeIcon: Icon(Icons.person),
|
||||
title: Text('Me'),
|
||||
),
|
||||
];
|
||||
@ -153,6 +155,8 @@ class _HomeState extends State<Home> {
|
||||
home: Scaffold(
|
||||
body: _buildScreen(active),
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
selectedItemColor: PrimerColors.blue500,
|
||||
// unselectedItemColor: PrimerColors.gray500,
|
||||
items: _buildNavigationItems(),
|
||||
currentIndex: active,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
|
Loading…
Reference in New Issue
Block a user