prism_form 0.1.0
prism_form: ^0.1.0 copied to clipboard
Declarative forms for Flutter — typed fields, composable validators, sealed submit states, inline errors, and a headless controller. Pure Flutter, all platforms. Part of the Prism package family.
Changelog #
0.1.0 #
- Initial release.
PrismForm+PrismFormScope— declarative container with inherited controller.PrismFormController— headless state: values, validators, touched tracking, sealedPrismFormStatuslifecycle, asyncsubmit()withPrismSubmissionExceptionfield-error mapping, andreset().- Fields:
PrismTextField(+.emailfactory),PrismPasswordField,PrismDropdownField,PrismCheckboxField. Validators: required, email, minLength, maxLength, pattern, number, and composableall.