backgroundColor property Null safety

Color? backgroundColor
final

The color of the BottomNavigationBar itself.

If type is BottomNavigationBarType.shifting and the items have BottomNavigationBarItem.backgroundColor set, the items' backgroundColor will splash and overwrite this color.

Implementation

final Color? backgroundColor;