bottomNavigationBarBackgroundSchemeColor property

SchemeColor? bottomNavigationBarBackgroundSchemeColor
final

Select which color from the theme's ColorScheme to use as background color for the BottomNavigationBar.

All colors in the color scheme are not good choices, but some work well.

If undefined, defaults to SchemeColor.background.

If useFlutterDefaults true, and this property is undefined, the effective background color will also be ColorScheme.background.

FlexColorScheme sets background defaults of BottomNavigationBar, NavigationBar and BottomNavigationBar to SchemeColor.background when it is using component sub-themes. Flutter SDK uses different colors on all three widgets. Our opinion is that they should all default to using the same ColorScheme based color. FlexColorScheme uses the background color as this default.

Implementation

final SchemeColor? bottomNavigationBarBackgroundSchemeColor;