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 ThemeData.textTheme.bodyText. 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