labelStyle property Null safety

TextStyle? labelStyle

The style to be applied to the chip's label.

If null, the value of the ChipTheme's ChipThemeData.labelStyle is used. This only has an effect on widgets that respect the DefaultTextStyle, such as Text.

If TextStyle.color is a MaterialStateProperty<Color>, MaterialStateProperty.resolve is used for the following MaterialStates:


final TextStyle? labelStyle;