labelType property

NavigationRailLabelType? labelType

Defines the layout and behavior of the labels for the default, unextended NavigationRail.

When a navigation rail is extended, the labels are always shown.

The default value is NavigationRailThemeData.labelType. If NavigationRailThemeData.labelType is null, then the default value is NavigationRailLabelType.none.

See also:


final NavigationRailLabelType? labelType;