gmana_form 0.0.1
gmana_form: ^0.0.1 copied to clipboard
Flutter form fields, validators, and submit controls for the Gmana ecosystem.
Unreleased #
- Breaking: replaced
GFieldConfigwithGTextFieldConfig. - Breaking: renamed field constructor labels from
labelText/hintTexttolabel/hint. - Breaking: renamed field-level custom validation from
validatorOverridetovalidator. - Added
GTextFieldpreset constructors for text, email, number, password, and confirm-password fields. - Added
GSubmitButtonwith custom child support and a text convenience factory. - Added
GFormControllerandGFormfor simpler form lifecycle, validation, save, reset, and named text-controller management. - Added
GFormController.submitwith loading state and duplicate-submit protection. - Added
GFormSubmitButtonfor controller-aware async submit flows. - Added named field binding through
GTextFieldConfig.nameand presetnameparameters. Fields insideGFormcan now resolve their controller automatically. - Added
passwordNameto confirm-password fields so named forms can validate password confirmation without manually requesting the password controller. - Added optional controller support via
initialValuefor simpler forms. - Added autofill, obscure-text, autocorrect, suggestions, prefix, suffix, and
suffix-icon configuration to
GTextFieldConfig. - Removed unused
InputFormatterProvider. - Simplified field widgets to use
StatelessWidgetdirectly instead of a package-specific base class. - Added common
TextFormFieldpassthrough options to the named field widgets.
0.0.1 #
- Extracted form widgets, fields, and validators from
gmana_flutter.