easy_form_kit
library
Typedefs
-
CreateControllerCallback<C, T>
= C Function(T value)
-
Signature for creating a controller.
-
EasyFormButtonBuilder
= Widget Function(BuildContext context, EasyFormState? form)
-
Button builder signature
-
EasyFormChangeCallback
= void Function(EasyFormFieldState? field)
-
Signature for the callback when the field changes.
-
EasyFormCustomFieldBuilder<T, C>
= Widget Function(_EasyCustomFormFieldState<dynamic, ValueNotifier> fieldState, EasyFormCustomFieldChangeHandler<T> onChangedHandler)
-
Input field builder signature.
-
EasyFormCustomFieldChangeHandler<T>
= void Function(T value)
-
Field value change handler signature.
-
EasyFormFieldBuilder<T>
= Widget Function(EasyFormFieldState<T> field)
-
Signature for building the widget representing the form field.
-
EasyFormFieldErrorBuilder
= Widget Function(BuildContext context, String fieldName, String? errorText)
-
Signature for the form field error displayer builder
-
EasyFormFieldSaveCallback<T>
= Future<T> Function(Map<String, dynamic> values, EasyFormState form)
-
Signature for save callback.
-
EasyFormFieldSavedCallback<T>
= void Function(T values, Map<String, dynamic> fieldValues, EasyFormState form)
-
Signature for saved callback.
-
EasyFormFieldSetter<T>
= void Function(T newValue)
-
Signature for being notified when a form field changes value.
-
EasyFormFieldValidator<T>
= String? Function(T value, [Map<String, dynamic>? values])
-
Signature for validating a form field.
-
EasyFormSaveButtonIndicatorBuilder
= Widget Function(BuildContext context, Size size, EasyFormAdaptivity adaptivity)
-
Signature for the save indicator builder
-
EasyFormSaveButtonLayoutBuilder
= Widget Function(BuildContext context, Widget body, Widget indicator)
-
Signature for button content layout builder
-
EasyFormSaveIndicatorBuilder
= Widget Function(BuildContext context, Size size, EasyFormAdaptivity adaptivity)
-
Signature for the save indicator builder
-
EasyFormSaveIndicatorLayoutBuilder
= Widget Function(BuildContext context, Widget body, [Widget? indicator])
-
Signature for the save indicator layout builder
-
RecreateControllerCallback<C>
= C Function(C oldController)
-
Signature to recreate a controller from an old controller.
-
ValueOfGetter<T, C>
= T Function(C controller)
-
Signature for value getter from controller.
-
ValueOfSetter<T, C>
= dynamic Function(C controller, T value)
-
Signature for controller value setter.