antd_form 1.0.1
antd_form: ^1.0.1 copied to clipboard
Ant Design Form for Flutter - typed form fields, validation rules, layout helpers, controllers and submit handling aligned with antd v6.
Changelog #
1.0.1 #
- Fix pub.dev static analysis results by aligning internal dependency constraints.
- Ship the package example and tighten pubspec metadata for better pub.dev scoring.
- Documentation and changelog polish.
1.0.0 #
- Initial stable release of
antd_form, the form package of the Ant Design Flutter suite. AntFormcontainer withvertical,horizontalandinlinelayouts, configurablelabelWidth, whole-formdisabledstate,initialValues, andonFinish/onFinishFailedcallbacks.AntFormItem<T>field binding with label, required marker,help/extratext, initial value, and per-fieldAntFormValidateTrigger(onChangeoronSubmit).AntFormControllerwithsubmit,validate,setValue,getValue,getValues,getError,getErrors,clearErrors,resetandhasErrorsfor programmatic form control.AntFormFieldRulevalidation for required values, regular expressions, numeric and length ranges, number parsing, and custom validators, plus theAntFormFieldRule.requiredshorthand.- Dynamic form fields through stable field names: items register on mount and unregister on dispose, so rows can be added or removed without leaking values.
AntFormField<T>exposesvalue,errorTextanddidChange, keeping the package independent of any specific input widget.