form_foundation 0.1.0
form_foundation: ^0.1.0 copied to clipboard
Schema-agnostic building blocks for form UIs: themable field widgets, editor groups, labels, and error panels shared by form generators.
0.1.0 #
Initial release.
- Typed field widgets:
StringField,IntField,DoubleField,BoolField,StringDateField,StringTimeField,StringDateTimeField,StringDataUrlField— controlled components bound to plain values viaonChanged, with labels, helper/error texts, required marking, and optional example dropdowns. - Container building blocks:
EditorGroup(framed/expanded group),NodeEditorandListEditor(handler-driven object/array editors with removal and drag-and-drop reordering),RemovableRow,AddButton,CollapsedValueField,ErrorsPanel,FormDialog,WidthThresholdBuilder. - Theming through
FormTheme/FormThemeData(field padding, errors padding, group border, code text style), modeled after Material component themes. - Schema-agnostic handler contracts (
FieldHandler,FieldHandlerRegistry,NodeState) for form generators to build on. - Utilities: RFC 2397 data URL parsing/encoding (
DataUrl), deep collection equality helpers.
