backgroundColor property

Color? backgroundColor
final

The color of the background radial animation for material BottomNavigationBar.

If the navigation bar's type is BottomNavigationBarType.shifting, then the entire bar is flooded with the backgroundColor when this item is tapped. This will override BottomNavigationBar.backgroundColor.

Not used for CupertinoTabBar. Control the invariant bar color directly via CupertinoTabBar.backgroundColor.

See also:

Implementation

final Color? backgroundColor;