counterStyle property

TextStyle? get counterStyle

Overrides the default value for InputDecoration.counterStyle.

This property is obsolete and will be deprecated in a future release: please use the InputDecorationThemeData.counterStyle property in data instead.

Implementation

TextStyle? get counterStyle => _data != null ? _data.counterStyle : _counterStyle;