labelColor property Null safety

Color? labelColor
final

The color of selected tab labels.

If ThemeData.useMaterial3 is false, unselected tab labels are rendered with the same color with 70% opacity unless unselectedLabelColor is non-null.

If this property is null and ThemeData.useMaterial3 is true, ColorScheme.primary will be used, otherwise the color of the ThemeData.primaryTextTheme's TextTheme.bodyLarge text color is used.

Implementation

final Color? labelColor;