easy_form_kit 2.0.0-nullsafety.1 easy_form_kit: ^2.0.0-nullsafety.1 copied to clipboard
A set of widgets for processing form field data in one common handler. Convenient for saving data to a database, sending via API, etc.
2.0.0-nullsafety.1 #
- Now the return type of
EasyFormFieldValidator
isString?
, i.e. allows you to returnnull
if the validation is successful.
2.0.0-nullsafety.0 #
- Migrate to null safety.
1.0.9 #
- Added
value
andcontroller
properties toEasyFormGenericFieldState
to access the current field value and its controller.
1.0.8+1 #
- Breaking changes:
EasyForm
adds a second parameter to theonSave
callback and a third parameter to theonSaved
callback, the state of the form itself.
1.0.7 #
- The
saveOnSubmit
argument has been added toEasyTextFormField
, which, when true, the form is saved by pressing submit on the keyboard. - A
saveForm
method has been added toEasyFormFieldState
to save the form.
1.0.6 #
- Added exception handling in
onSave
andonSaved
callbacks.
1.0.5 #
- The
build
method of theEasyFormGenericField
widget now has a default implementation that throws aUnimplementedError
. Now it is not necessary to implement this method if the class inherited fromEasyFormGenericFieldState
has its own implementation of thebuild
method.
1.0.4 #
- State class
EasyFormGenericFieldState
made public.
1.0.3+1 #
- Breaking changes: A second parameter has been added to the signature of
EasyFormFieldValidator
, which contains the values of all fields of the form.
1.0.2 #
- Breaking changes:
EasyForm
adds a second parameter to theonSaved
callback, form field values.
1.0.1 #
- Added
EasyTextFormField.builder
constructor.
1.0.0+1 #
- Initial version.