From 7fa3deaba9ec61bb286231b0f49ad70a45e983d8 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 316920574..b333672b4 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,