navigationRailSelectedLabelSchemeColor property

SchemeColor? navigationRailSelectedLabelSchemeColor
final

Select which color from the theme's ColorScheme to use as base for the NavigationRail's selected label text color.

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

If undefined, defaults to SchemeColor.primary.

If useFlutterDefaults is true, and this property and all other label modifying properties are undefined, including the text style, the effective color will be ColorScheme.primary in M2 and ColorScheme.onSurface in M3.

Implementation

final SchemeColor? navigationRailSelectedLabelSchemeColor;