lo_form 0.2.0 lo_form: ^0.2.0 copied to clipboard
Low-code and lightweight Flutter library for forms' state management.
0.2.0 #
- Add
debounceTime
property for debouncing field's changes. - Add
LoConfig
to configure the package defaults. - BREAKING: Change validation API from a single function called
validate
to avalidators
list.
0.1.2 #
- Change
onSubmit
return type toFutureOr<bool>
; to eliminate the need for writingasync
in synchronous functions. - Add
initialValue
to 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
LoCheckBox
field. - Add
props
field to pre-built fields, to allow styling and modifying them as regular Flutter fields. - Add
submittableWhen
to choose when to make the submit button enabled. - Add
email
®Exp
validators. - Cleanup code.
0.0.1-dev.0 #
- Add
LoFrom
widget to manage the form callbacks and state. - Add a simple
LoTextField
as a pre-builtLoField
. - Add
LoValidation
to facilitate building validation functions and reuse them. - Add errors, touches, statuses, values maps, to track fields' state.
- Add form-level and field-level validation.