The package layers let an app use validation and controller behavior without depending on Flutter, then add Flutter widgets only when a Flutter UI is needed.
keyed_lensv0.1.0
Pure Dart, 0 dependencies. Typed update primitives for nested immutable values.
keyed_form_corev0.1.0
Depends on keyed_lens. The form tier's shared vocabulary: FieldRef, StrictFieldRef, FieldErrors, @keyedSchema.
keyed_form_schemav0.1.0
Depends on keyed_form_core. The declarative schema & validation DSL (ks.*). Pure Dart.
keyed_form_genv0.2.0
Dev-time build_runner codegen: turns a schema into an immutable model, typed field refs and a validator.
keyed_formv0.1.0
The pure-Dart state controller (KeyedFormController) with scoped listener bindings.
keyed_form_flutterv0.1.0
The Flutter binding layer: KeyedForm, KeyedFormField, KeyedFieldList, KeyedTextBinding.
User-facing layers#
-
Schema:
keyed_form_schemacomposes validators and validates maps or typed values.keyed_form_genplusbuild_runneroptionally generates immutable models and typed field references. Start at Schema. -
Form state:
keyed_formowns an immutable draft, field state, list operations, and submission behavior independently of widgets. Read Form State. -
Flutter:
keyed_form_fluttersupplies the scope, field bindings, text integration, and list widgets. Read Flutter.
The generator is a development-time dependency; generated .kfg.dart source is consumed by the application. Flutter is not required for a pure-Dart schema/controller workflow. For dependency commands and the SDK constraint, see
Installation.