tabBarUnselectedItemSchemeColor property

SchemeColor? tabBarUnselectedItemSchemeColor
final

Defines which Theme based ColorScheme based color the TabBar unselected items use.

If not defined, but tabBarItemSchemeColor is defined, then in M2 uses tabBarItemSchemeColor with tabBarUnselectedItemOpacity applied. In M3 mode uses SchemeColor.onSurfaceVariant with tabBarUnselectedItemOpacity applied.

if not defined and tabBarItemSchemeColor is also not defined, then TabBar uses the enum FlexTabBarStyle property tabBarStyle in factories FlexColorScheme.light or FlexColorScheme.dark to determine the TabBar selected and unselected item color.

The themed TabBar item color is typically defined by FlexTabBarStyle in FlexColorScheme.light or FlexColorScheme.dark.

This property is an override that offers more config options by allowing picking any color from the effective ColorScheme, instead of just the options in the FlexColorScheme.light and FlexColorScheme.dark (tabBarStyle) factory parameter.

Implementation

final SchemeColor? tabBarUnselectedItemSchemeColor;