flutter_formy_builder library
A library that defines FormyBuilder, FieldBuilder, FocusableFieldBuilder, and GroupBuilder for building reactive Flutter forms.
These widgets listen to changes on controllers and automatically rebuild whenever the state updates, making it easy to create dynamic and performant forms.
Part of the flutter_formy package.
Classes
-
FieldBuilder<
T> - A widget that automatically rebuilds the interface based on changes to the state of a FieldController.
-
FocusableFieldBuilder<
T> - A widget that automatically rebuilds the interface based on changes to the state of a FieldController.
-
FormyBuilder<
Controller, StateType> - A widget that rebuilds based on changes to a FieldController or GroupController using a customizable condition.
-
FormyBuilderState<
TController, TStateType, TWidget extends FormyBuilder< TController, TStateType> > - The base state class for FormyBuilder.
- GroupBuilder
- A widget that automatically rebuilds the interface based on changes to the state of a GroupController.
- TextFieldBuilder
- A widget that rebuilds based on changes to a FieldController and provides a FocusNode and TextEditingController to integrate with Flutter's TextField.
Typedefs
-
FocusableFieldWidgetBuilder<
T> = Widget Function(BuildContext context, FieldController< T> field, FocusNode focusNode, Widget? child) -
The type used by the FocusableFieldBuilder's
builder
property. -
TextFieldWidgetBuilder<
T> = Widget Function(BuildContext context, FieldController< T> field, FocusNode focusNode, TextEditingController textEditingController, Widget? child) -
The type used by the TextFieldBuilder's
builder
property.