json_driven_dynamic_form 1.0.0
json_driven_dynamic_form: ^1.0.0 copied to clipboard
A production-ready Flutter package that generates fully dynamic, validated forms from JSON schemas — no manual widget wiring required.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2026-08-15 #
Changed #
- Published package name is
json_driven_dynamic_form. pub.flutter-io.cn rejectedflutter_dynamic_form(too similar toflutter_dynamic_forms) andjson_dynamic_formwas already taken.
Added #
Publish readiness
- Pre-render schema JSON validation (
FormSchemaValidator) with path-aware issues SchemaErrorViewUI when schema is invalid (shows JSON paths instead of the form)DynamicForm.validateSchema/onSchemaInvalidcallbacks- Responsive layout:
SafeArea, keyboard insets, stacked actions on narrow widths,maxContentWidth
Phase 4
- Media field types:
image,file,camera,location - Injectable media services (
FormImagePicker,FormCameraCapture,FormFilePicker,FormLocationProvider) MediaFileValue/LocationValuemodels- Mock media services for tests and demos (
mockMediaServices()) - Async validators (
type: async) viaregisterAsyncValidator - Server validators (
type: server) viasetServerValidator validateAsync()and async-awaresubmit()- Example: Media Upload demo
Phase 5
- Plugin API:
DynamicFormPluginRegistry+ customFieldRenderers - Field types:
slider,rangeSlider,rating,signature,color,custom,repeatable - Repeatable sections with add/remove/min/max items
- Localization:
DynamicFormLocalizations - Accessibility:
Semanticswrappers +semanticLabel - Example: Advanced Controls demo (custom badge renderer)
Changed #
- Package version
0.3.0→1.0.0(Phases 1–5 complete)