navigationRailIndicatorSchemeColor property

SchemeColor? navigationRailIndicatorSchemeColor
final

Select which color from the theme ColorScheme to use as base for the selected NavigationRails's highlighted item.

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

If undefined, defaults to SchemeColor.primary, additionally a default navigationRailIndicatorOpacity is applied.

If useFlutterDefaults true, and this property is undefined, the effective background color will also be ColorScheme.secondary with opacity 24% in M2 and ColorScheme.secondaryContainer in M3.

Implementation

final SchemeColor? navigationRailIndicatorSchemeColor;