flutter_json_render 0.2.0
flutter_json_render: ^0.2.0 copied to clipboard
Guardrailed JSON-to-Widget renderer for Flutter and Dart.
0.2.0 #
- Added JSON Patch support with
JsonPatchOperation,JsonPatchOp, andapplyJsonPatch - Added streaming compiler API
JsonSpecStreamCompilerfor JSONL full specs and incremental patch lines - Expanded
JsonCatalog.prompt()with richer schema metadata (JsonPropDefinition,JsonPromptOptions) - Enhanced standard component catalog definitions with prop schemas for stronger prompt generation
- Added a full multi-case
/exampleapp (counter, repeat/item scope, dynamic cond props, async actions, stream simulation) - Expanded test coverage for patching, streaming, and prompt generation
- Updated README with streaming and example usage docs
- Updated package metadata for publishing readiness
0.1.0 #
- Initial Flutter/Dart library implementation inspired by
vercel-labs/json-render - Added flat spec model (
JsonRenderSpec,JsonElement, actions/repeat support) - Added guarded catalog and registry APIs (
JsonCatalog,JsonRegistry) - Added
JsonRendererwith visibility, repeat, dynamic value resolution, and event-action dispatch - Added built-in standard component set for Material widgets
- Added spec validation API (
validateSpec) - Added widget and unit tests for rendering, action execution, visibility, and repeat