Changed BottomNavigationBar background. (#6005)
When switching from shifting to fixed, the BottomNavigationBar no longer displays the old color of the background.
This commit is contained in:
@@ -446,7 +446,7 @@ class BottomNavigationBarState extends State<BottomNavigationBar> {
|
||||
new Positioned.fill(
|
||||
child: new Material( // Casts shadow.
|
||||
elevation: 8,
|
||||
color: _backgroundColor
|
||||
color: config.type == BottomNavigationBarType.shifting ? _backgroundColor : null
|
||||
)
|
||||
),
|
||||
new SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user