FTextFieldCounterBuilder typedef
FTextFieldCounterBuilder =
Widget? Function(BuildContext context, int currentLength, int? maxLength, bool focused)
The FTextField.counterBuilder callback.
currentLength
represents the length of the text field's input.
maxLength
represents the maximum length of the text field's input.
focused
represents whether the text field is currently focused.
Implementation
typedef FTextFieldCounterBuilder =
Widget? Function(
BuildContext context,
int currentLength,
int? maxLength,
// ignore: avoid_positional_boolean_parameters
bool focused,
);