foregroundStyle property

TextStyle? foregroundStyle
final

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

The default label style is TextTheme.bodyText1 from the overall theme's ThemeData.textTheme. This only has an effect on widgets that respect the DefaultTextStyle, such as Text.

Implementation

//
/// This only has an effect on widgets that respect the [DefaultTextStyle],
/// such as [Text].
final TextStyle? foregroundStyle;