counterStyle property

TextStyle? counterStyle
final

The style to use for the counterText.

If counterStyle is a MaterialStateTextStyle, then the effective text style can depend on the MaterialState.focused state, i.e. if the TextField is focused or not.

If null, defaults to the helperStyle.

Implementation

final TextStyle? counterStyle;