easy_form_kit 2.3.1
easy_form_kit: ^2.3.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.3.1 #
- Added settings for scrolling to the error field.
2.3.0 #
- Added scrolling to the first error field.
2.2.0+1 #
- Added
EasyFormFieldErrorwidget to display an error in a field. Convenient for use with custom fields. - The
EasyFormState.setErrors(newErrors)method now accepts null as the error text in the newErrors.
2.1.1 #
- Fixed bug in
EasyCustomFormFieldwhen returning null invalueGet. - Fixed bug in
EasyTextFormFieldusing external controller.
2.1.0+1 #
- The
errorsproperty has been added toEasyFormand thesetErrorsmethod has been added toEasyFormState, for the ability to set errors in some fields, for example, received through the API.
2.0.0 #
- Release of the null-safety version.
2.0.0-nullsafety.2 #
EasyCustomFormField: #
valueGet&valueSetnow accept a nullablevalueparameter.controllerBuilder&recreateControllernow return a non-null controller type.setValuenow accepts a nullablevalueparameter.- The
buildercallback now accepts a non-null controller type.
2.0.0-nullsafety.1 #
- Now the return type of
EasyFormFieldValidatorisString?, i.e. allows you to returnnullif the validation is successful.
2.0.0-nullsafety.0 #
- Migrate to null safety.
1.0.9 #
- Added
valueandcontrollerproperties toEasyFormGenericFieldStateto access the current field value and its controller.
1.0.8+1 #
- Breaking changes:
EasyFormadds a second parameter to theonSavecallback and a third parameter to theonSavedcallback, the state of the form itself.
1.0.7 #
- The
saveOnSubmitargument has been added toEasyTextFormField, which, when true, the form is saved by pressing submit on the keyboard. - A
saveFormmethod has been added toEasyFormFieldStateto save the form.
1.0.6 #
- Added exception handling in
onSaveandonSavedcallbacks.
1.0.5 #
- The
buildmethod of theEasyFormGenericFieldwidget now has a default implementation that throws aUnimplementedError. Now it is not necessary to implement this method if the class inherited fromEasyFormGenericFieldStatehas its own implementation of thebuildmethod.
1.0.4 #
- State class
EasyFormGenericFieldStatemade 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:
EasyFormadds a second parameter to theonSavedcallback, form field values.
1.0.1 #
- Added
EasyTextFormField.builderconstructor.
1.0.0+1 #
- Initial version.