openui 0.0.1-dev.2 copy "openui: ^0.0.1-dev.2" to clipboard
openui: ^0.0.1-dev.2 copied to clipboard

Flutter Renderer widget for OpenUI Lang. Owns the streaming parser, reactive store, error boundary, and form-state cache.

0.0.1-dev.2 #

  • Point pubspec repository, homepage, and issue_tracker URLs at github.com/mtwichel/openui_flutter.

0.0.1-dev.1 #

  • BREAKING: QueryManager rewrite for the new @Query builtin. Constructor is now QueryManager({library, store, onError}). Results flow through store.set(statementId, value.result) instead of an internal QueryEntry map; QueryEntry is removed. ensureFired / invalidate take (QueryDecl, EvalContext) and evaluate args at fire time. The renderer gates firing on !isStreaming and skips only queries whose own statement is in meta.incomplete (so a missing trailing newline no longer blocks top-level @Query declarations). @Run($var) re-fires the bound query against the live store.
  • chore: renderer iteration paths follow the new 3-arg @Each shape — the template is read from args[2] and the named loop var is bound from the string-literal at args[1]. @Map is unchanged.
  • feat: Renderer widget — streaming-aware Flutter renderer for OpenUI Lang. Owns the parser, reactive store, query cache, form-state cache, and a per-element error boundary.
  • feat: ErrorBoundary widget — caches the last successful child and reports captured render errors through Renderer.onError.
  • feat: FormStateCacheTextEditingController cache keyed by (formName, fieldName) with a 250 ms grace window on disposal so focus survives mid-stream rebuilds.
  • feat: QueryManager — per-renderer gate that turns @Query declarations into one-shot tool calls. Results flow through the store; mutations dispatch through fireMutation and surface failures via onError.
  • feat: RendererScopeInheritedWidget exposing the store, form-state cache, streaming flag, incomplete-statement set, and action dispatcher to descendant components.
  • chore: package scaffold (Phase 0).
1
likes
150
points
97
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter Renderer widget for OpenUI Lang. Owns the streaming parser, reactive store, error boundary, and form-state cache.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, meta, openui_core

More

Packages that depend on openui