mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 22:15:12 +00:00
fix: BottomNavigationbar colors
This commit is contained in:
parent
3ee1c70042
commit
7fa3deaba9
1 changed files with 2 additions and 2 deletions
|
@ -211,13 +211,13 @@ class _HomeViewState extends State<HomeView> {
|
|||
),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
unselectedItemColor: Colors.black,
|
||||
unselectedItemColor: Theme.of(context).textTheme.bodyText1.color,
|
||||
currentIndex: currentIndex,
|
||||
showSelectedLabels: true,
|
||||
showUnselectedLabels: false,
|
||||
type: BottomNavigationBarType.fixed,
|
||||
elevation: 20,
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||
onTap: (i) {
|
||||
_pageController.animateToPage(
|
||||
i,
|
||||
|
|
Loading…
Reference in a new issue