form_flutter 1.0.3 copy "form_flutter: ^1.0.3" to clipboard
form_flutter: ^1.0.3 copied to clipboard

Schema-friendly Flutter forms with reusable field widgets, validators, controller state, and preset catalogs.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and follows the versioning used by the package.

1.0.3 #

  • Version bump to 1.0.3
  • Added FormFlutterSchemaForm for one-widget schema-driven forms
  • Added FormFlutterSchemaTemplates for account registration, profile, job application, appointment booking, feedback, and checkout flows
  • Added DynamicFormFlutter hooks and controls for onChanged, reset actions, reset labels, and primary or secondary button styling
  • Added catalog helpers for preset lookup by key, category, and search query
  • Expanded professional option sets and presets with industry and priority choices
  • Fixed async validation lifecycle safety when forms unmount during validation
  • Fixed autocomplete stale selections when users edit text after choosing an option
  • Refreshed lockfiles and strengthened CI checks for formatting and docs

1.0.2 #

  • Version bump to 1.0.2
  • Updated package docs and example copy to reference 1.0.2

1.0.1 #

  • Finished incomplete preset-driven validation behavior for generated fields
  • Improved generated file and image field UX by exposing when picker callbacks are not configured
  • Aligned schema-generated field overrides with widget support, including OTP hintText and autocomplete textStyle
  • Added regression tests covering preset validation hints, picker configuration state, and schema override passthrough

1.0.0 #

  • Promoted form_flutter to a stable 1.0.0 release
  • Added schema builder APIs with FormFlutterSchema, FormFlutterSchemaSection, and FormFlutterSchemaField
  • Added schema-to-form helpers for generating sections, flat field lists, initial values, and controllers from schema definitions
  • Added typed per-field schema overrides for labels, helper and hint text, validators, decoration and text styling, phone configuration, and slider ranges without custom factory boilerplate
  • Hardened controller serialization with tagged DateTime support, TimeOfDay and file serialization helpers, reset flows, and touched or dirty state tracking
  • Expanded README coverage and example app demos to include schema-generated forms alongside direct field definitions
  • Verified the release with passing analysis and tests

0.2.0 #

  • Improved release readiness with broader dartdoc coverage across the public API
  • Hardened controller serialization with explicit tagged DateTime encoding and optional legacy date-string decoding
  • Improved dynamic form async-validation handling for field lists built as FormFlutterField<dynamic>
  • Modernized core field behavior and reduced technical debt in form widgets
  • Expanded test coverage for controller serialization, reset flows, async validation, section visibility, and stepper flows
  • Verified the package with clean flutter analyze, passing tests, and pub publish --dry-run

0.1.0 #

  • Added controller serialization helpers with toJson() and fromJson() support for form values, DateTime, TimeOfDay, and FormFlutterFileValue
  • Added controller state-management helpers for reset(), resetField(), touched tracking, dirty tracking, and listenables for touched or dirty field state
  • Added focused controller tests covering serialization, reset behavior, and touched or dirty tracking
  • Updated the package playground and example app to demonstrate export, import, reset, and live touched or dirty state previews

0.0.2 #

  • Added country-aware phone input with dial-code selection, digit limiting, and allowed-country filtering
  • Added full country dataset with flags, ISO codes, and dial codes
  • Added searchable country picker with live keyboard filtering and result sorting
  • Added reusable FormFlutterCountryField for standalone country selection
  • Improved dropdown and radio selected-state rendering for better readability and fewer layout issues
  • Updated local and example apps to demonstrate country selection and phone-field improvements

0.0.1 #

  • Initial package foundation for form_flutter
  • Added FormFlutterController for centralized form values and error handling
  • Added reusable field widgets for text, password, multiline, number, dropdown, radio, checkbox, switch, date, time, date-time, slider, and multi-select
  • Added synchronous validators for text, numeric, date, conditional, file, and password-strength rules
  • Added asynchronous validation support for unique username or email checks and other submit-time checks
  • Added FormFlutterCatalog and FormFlutterOptionSets for reusable field presets and shared dropdown or radio options
  • Added demo usage in lib/main.dart
0
likes
160
points
200
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Schema-friendly Flutter forms with reusable field widgets, validators, controller state, and preset catalogs.

Repository (GitHub)
View/report issues

Topics

#form #validation #flutter-widget #dynamic-form #form-builder

License

MIT (license)

Dependencies

flutter

More

Packages that depend on form_flutter