Skip to main content

schema_ui 1.0.0 copy "schema_ui: ^1.0.0" to clipboard
schema_ui: ^1.0.0 copied to clipboard

Visual JSON Schema authoring and themed Flutter instance forms backed by schema_engine.

1.0.0 #

  • Add pub.dev metadata, installation instructions, package-local analysis options, and documentation links that work outside the repository.

  • Place More options before nested schemas and group its controls into localized Validation and Annotations tabs, retaining tab selection and pending edits.

  • Continue validating hidden option fields and remove their keyboard focus when changing tabs.

  • Retain expanded schema editor sections and unchanged controls during external JSON updates, preserving visual scroll position in the example.

  • Simplify property and definition cards with a single name, grouped type and compact options, visible common constraints, and a More options section.

  • Add SchemaEditor for creating Draft 2020-12 schemas through themed form controls, including nested properties, array items, constraints, and $defs.

  • Preserve unedited schema keywords, maintain required property names, and update local references when renaming root definitions.

  • Add open SchemaEditorMessages and Form validation/save/reset integration.

  • Demonstrate bidirectional visual and JSON editing with responsive panels.

  • Decode trailing numeric dots and commas as whole values while preserving editor text, exact numbers, and schema validation.

  • Re-export ValidationErrorCodes for constant-based form message catalogs.

  • Display the engine's specific, localizable validation diagnostics, including property-specific required errors, and share application-owned engine catalogs.

  • Add SchemaFormMessages for localized labels, actions, parsing errors, schema diagnostics, and root error summaries with English defaults.

  • Expose SchemaField.label and SchemaField.messages to custom editors; preserve edits and pending errors when the message configuration changes.

  • Show boolean field labels once in the switch tile, preserving themed input decoration, descriptions, and validation errors.

  • Enable email and URI format assertions in the example, show schema diagnostics for invalid values, and clear previously submitted JSON when editing resumes.

  • Always show optional properties with optional labels and omit untouched fields from JSON. Clear empty optional text/numeric fields and remove optional arrays when their final item is removed.

  • Add SchemaField.clear and clear controls for explicit optional values, keeping zero, false, null, enum choices, and existing instance values intact.

  • Show compiled schema diagnostics for unparseable numeric input while keeping the last decoded instance value; use decoder diagnostics when no assertion applies.

  • Separate text, numeric, and JSON editors; select format-aware text keyboards and signed integer/decimal keyboards automatically.

  • Add numeric formatters that preserve partial edits and IME composition, reject malformed pastes, and support decimal commas and scientific notation.

  • Make the example a runnable workspace application with Web and Windows runners, local package dependencies, and a dedicated widget test.

  • Generate Material form fields for strings, exact numbers, booleans, enums, nullable values, object properties, arrays, and tuples.

  • Validate complete instances with a reusable schema_engine validator and integrate with an ancestor Form's validate, save, and reset operations.

  • Support custom editors by JSON type and escaped instance JSON Pointer.

  • Inherit Material themes and expose SchemaUiTheme for configurable spacing.

  • Preserve optional property presence and immutable JSON snapshots.

  • Provide validated JSON editing for references, combinators, boolean schemas, and otherwise unsupported automatic layouts.

0
likes
150
points
17
downloads

Documentation

API reference

Publisher

verified publishermikelpastor.com

Weekly Downloads

Visual JSON Schema authoring and themed Flutter instance forms backed by schema_engine.

Repository (GitHub)
View/report issues

Topics

#json-schema #form #widget #validation #schema-editor

License

MIT (license)

Dependencies

flutter, schema_engine

More

Packages that depend on schema_ui