mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-26 03:54:15 +01:00
fix: BottomNavigationbar colors
This commit is contained in:
parent
46051f2910
commit
08f24d7e28
@ -211,13 +211,13 @@ class _HomeViewState extends State<HomeView> {
|
|||||||
),
|
),
|
||||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
||||||
bottomNavigationBar: BottomNavigationBar(
|
bottomNavigationBar: BottomNavigationBar(
|
||||||
unselectedItemColor: Colors.black,
|
unselectedItemColor: Theme.of(context).textTheme.bodyText1.color,
|
||||||
currentIndex: currentIndex,
|
currentIndex: currentIndex,
|
||||||
showSelectedLabels: true,
|
showSelectedLabels: true,
|
||||||
showUnselectedLabels: false,
|
showUnselectedLabels: false,
|
||||||
type: BottomNavigationBarType.fixed,
|
type: BottomNavigationBarType.fixed,
|
||||||
elevation: 20,
|
elevation: 20,
|
||||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||||
onTap: (i) {
|
onTap: (i) {
|
||||||
_pageController.animateToPage(
|
_pageController.animateToPage(
|
||||||
i,
|
i,
|
||||||
|
Loading…
Reference in New Issue
Block a user