navigationRailUseIndicator property
Whether or not the selected NavigationRail item should include a NavigationIndicator.
If true
, adds a rounded NavigationIndicator behind the selected
destination's icon.
The indicator's shape will be circular if labelType
is
NavigationRailLabelType.none, or a StadiumBorder if labelType
is
NavigationRailLabelType.all or NavigationRailLabelType.selected.
If undefined
, defaults to NavigationRailThemeData.useIndicator.
If that is also undefined, then it defaults to ThemeData.useMaterial3.
Defaults to true. Can be set to null and then uses above default widget behavior.
Implementation
final bool? navigationRailUseIndicator;