form_flutter 1.0.1
form_flutter: ^1.0.1 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.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
hintTextand autocompletetextStyle - Added regression tests covering preset validation hints, picker configuration state, and schema override passthrough
1.0.0 #
- Promoted
form_flutterto a stable1.0.0release - Added schema builder APIs with
FormFlutterSchema,FormFlutterSchemaSection, andFormFlutterSchemaField - 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
DateTimesupport,TimeOfDayand 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
DateTimeencoding 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, andpub publish --dry-run
0.1.0 #
- Added controller serialization helpers with
toJson()andfromJson()support for form values,DateTime,TimeOfDay, andFormFlutterFileValue - 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
FormFlutterCountryFieldfor 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
FormFlutterControllerfor 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
FormFlutterCatalogandFormFlutterOptionSetsfor reusable field presets and shared dropdown or radio options - Added demo usage in
lib/main.dart