Skip to main content

antd_form 1.0.1 copy "antd_form: ^1.0.1" to clipboard
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.
  • AntForm container with vertical, horizontal and inline layouts, configurable labelWidth, whole-form disabled state, initialValues, and onFinish / onFinishFailed callbacks.
  • AntFormItem<T> field binding with label, required marker, help / extra text, initial value, and per-field AntFormValidateTrigger (onChange or onSubmit).
  • AntFormController with submit, validate, setValue, getValue, getValues, getError, getErrors, clearErrors, reset and hasErrors for programmatic form control.
  • AntFormFieldRule validation for required values, regular expressions, numeric and length ranges, number parsing, and custom validators, plus the AntFormFieldRule.required shorthand.
  • 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> exposes value, errorText and didChange, keeping the package independent of any specific input widget.
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Ant Design Form for Flutter - typed form fields, validation rules, layout helpers, controllers and submit handling aligned with antd v6.

Homepage
Repository (GitHub)
View/report issues

Topics

#ui #components #design-system #ant-design #form

License

MIT (license)

Dependencies

antd_flutter_ui, antd_theme, flutter, material_ui

More

Packages that depend on antd_form