diff --git a/packages/flutter/lib/src/material/bottom_navigation_bar.dart b/packages/flutter/lib/src/material/bottom_navigation_bar.dart index 9a8b390683..a66e40ef46 100644 --- a/packages/flutter/lib/src/material/bottom_navigation_bar.dart +++ b/packages/flutter/lib/src/material/bottom_navigation_bar.dart @@ -446,7 +446,7 @@ class BottomNavigationBarState extends State { new Positioned.fill( child: new Material( // Casts shadow. elevation: 8, - color: _backgroundColor + color: config.type == BottomNavigationBarType.shifting ? _backgroundColor : null ) ), new SizedBox(