FTextFieldCounterBuilder typedef
FTextFieldCounterBuilder =
Widget? Function(BuildContext context, int currentLength, int? maxLength, bool focused)
A callback for building a custom counter for a text field.
currentLength
is the length of the text field's input.
maxLength
is the maximum length of the text field's input.
focused
is whether the text field is currently focused.
Implementation
typedef FTextFieldCounterBuilder =
// ignore: avoid_positional_boolean_parameters
Widget? Function(BuildContext context, int currentLength, int? maxLength, bool focused);