unselectedLabelTextStyle property

TextStyle? unselectedLabelTextStyle

The TextStyle of a destination's label when it is unselected.

When one of the destinations is selected the selectedLabelTextStyle will be used instead.

The default value is based on the Theme's TextTheme.bodyLarge. The default color is based on the Theme's ColorScheme.onSurface.

Properties from this text style, or NavigationRailThemeData.unselectedLabelTextStyle if this is null, are merged into the defaults.


final TextStyle? unselectedLabelTextStyle;