lo_form 0.5.0
lo_form: ^0.5.0 copied to clipboard
Low-code and lightweight Flutter library for forms' state management.
0.5.0 #
- Support Flutter 3.
- Drop dependency on provider.
- Fix tab traversal issue from @Leviatanus.
0.4.0 #
- Add
all(like AND operator) andany(like OR operator) named constructors to validators. - BREAKING: Replace
namewith a genericloKey.
0.3.0 #
- BREAKING: Change form validation API from a single function called
validateto avalidatorslist of typeLoFormBaseValidator. - BREAKING: Rename
LoValidatortoLoFieldBaseValidator. - BREAKING: Rename
LoCustomValidatortoLoFieldValidator.
0.2.0 #
- Add
debounceTimeproperty for debouncing field's changes. - Add
LoConfigto configure the package defaults. - BREAKING: Change field validation API from a single function called
validateto avalidatorslist of typeLoValidator.
0.1.2 #
- Change
onSubmitreturn type toFutureOr<bool>; to eliminate the need for writingasyncin synchronous functions. - Add
initialValueto all pre-built fields.
0.1.1 #
- Update dependencies.
- Fix email regex.
0.1.0 #
Initial release.
0.0.1-dev.2 #
- Add some unit tests.
- Add some API reference.
- Change directory structure.
- Fix README.
0.0.1-dev.1 #
- Add
LoCheckBoxfield. - Add
propsfield to pre-built fields, to allow styling and modifying them as regular Flutter fields. - Add
submittableWhento choose when to make the submit button enabled. - Add
email®Expvalidators. - Cleanup code.
0.0.1-dev.0 #
- Add
LoFromwidget to manage the form callbacks and state. - Add a simple
LoTextFieldas a pre-builtLoField. - Add
LoValidationto facilitate building validation functions and reuse them. - Add errors, touches, statuses, values maps, to track fields' state.
- Add form-level and field-level validation.