widgets/text_field library
A text field.
See https://forui.dev/docs/form/text-field for working examples.
Classes
- FTextField
- A text field.
- FTextFieldStyle
- The text field style.
- FTextFormField
- A text field that is wrapped is a FormField for convenience.
Extensions
- $FTextFieldStyleCopyWith on FTextFieldStyle
-
Provides a
copyWith
method.
Typedefs
-
FFieldBuilder<
T> = Widget Function(BuildContext context, T style, Set< WidgetState> states, Widget field) - A callback for decorating a field. It should always use the given field.
-
FFieldIconBuilder<
T> = Widget Function(BuildContext context, T style, Set< WidgetState> states) - A callback for building a field's icon.
- FTextFieldCounterBuilder = Widget? Function(BuildContext context, int currentLength, int? maxLength, bool focused)
- A callback for building a custom counter for a text field.