Oriel — AI & technology worth noticing, every day.

Generative UI Without the Async Tax: Introducing bloc_signals_genui 1.0

Post · https://dev.to/gde/generative-ui-without-the-async-tax-introducing-blocsignalsgenui-10-3gge

Why we built a pure-Dart, 0ms synchronous Generative UI state machine on top of Google's official A2UI protocol—supporting two-way reactive forms, Riverpod/BLoC interop, Flutter Material 3, and ANSI terminal TUIs.

First seen by Oriel on .

AI summary

The article introduces bloc_signals_genui 1.0.0 and its Flutter renderer, which combine Google's A2UI protocol with a synchronous, pure-Dart state engine for interactive generated interfaces.

  • Both packages use Google's a2ui_core and support all 16 A2UI BasicCatalog components, including forms, lists, tabs, and modals.
  • WritableBinding updates and CheckRule validation run synchronously; NodeResolver expands list templates reactively, and only affected leaf widgets rebuild.
  • A2uiSurfaceBloc uses restartable() stream handling, prunes user turns when streams fail before their first chunk, and bounds cached surfaces with LRU eviction.
  • The same state machine powers Flutter and ANSI terminal reference apps, and can integrate with Riverpod, classic BLoC, and OpenTelemetry.
  • The packages target Dart 3.5+ through Dart 3.13+; the article reports 100% test coverage.

#dart #flutter #a2ui #generative ui

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Reactions

Total public reactions reported by the source; distinct from points and likes.

  • DEV Community: 19, latest observation ; +8 over observed period since

Comments

Comment count reported by the source.

  • DEV Community: 28, latest observation ; +10 over observed period since

Aliases

SourceExternal IDURL
DEV Community4881169https://dev.to/gde/generative-ui-without-the-async-tax-introducing-blocsignalsgenui-10-3gge Read discussion