From 08f24d7e289fdb0bf03acb27ceea5673d94c49e6 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Tue, 2 Feb 2021 16:46:59 +0100 Subject: [PATCH] fix: BottomNavigationbar colors --- lib/views/home_view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/home_view.dart b/lib/views/home_view.dart index 31692057..b333672b 100644 --- a/lib/views/home_view.dart +++ b/lib/views/home_view.dart @@ -211,13 +211,13 @@ class _HomeViewState extends State { ), 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,