selectedLabelTextStyle property
final
The TextStyle of a destination's label when it is selected.
When a NavigationRailDestination is not selected, unselectedLabelTextStyle will be used.
The default value is based on the TextTheme.bodyLarge of ThemeData.textTheme. The default color is based on the Theme's ColorScheme.primary.
Properties from this text style, or NavigationRailThemeData.selectedLabelTextStyle if this is null, are merged into the defaults.
Implementation
final TextStyle? selectedLabelTextStyle;