fix: BottomNavigationbar colors

This commit is contained in:
Christian Pauly 2021-02-02 16:46:59 +01:00
parent 46051f2910
commit 08f24d7e28
1 changed files with 2 additions and 2 deletions

View File

@ -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,