counterStyle property

TextStyle? counterStyle
final

The style to use for the InputDecoration.counterText.

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

If null, defaults to the helperStyle.

Implementation

final TextStyle? counterStyle;