navigationBarIndicatorSchemeColor property

SchemeColor? navigationBarIndicatorSchemeColor
final

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

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

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

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

Implementation

final SchemeColor? navigationBarIndicatorSchemeColor;