labelStyle property Null safety

TextStyle? labelStyle

The text style of the selected tab labels.

If unselectedLabelStyle is null, then this text style will be used for both selected and unselected label styles.

If this property is null and ThemeData.useMaterial3 is true, TextTheme.titleSmall will be used, otherwise the text style of the ThemeData.primaryTextTheme's TextTheme.bodyLarge definition is used.


final TextStyle? labelStyle;