app library TUI

Stable app-shell and runner entrypoint for terminal widget apps.

Prefer this library when you want the supported hosting surface without pulling in the full widget namespace:

  • WidgetApp
  • ArtisanalApp
  • local runners such as runWidgetApp(...) and runArtisanalApp(...)
  • reload helpers and watched/browser/socket host wrappers

Classes

ArtisanalApp
A high-level root shell for artisanal widget applications.
ReloadController
Controller for development-time subtree reloads.
ReloadFileWatcher
ReloadHost
Rebuildable host for development-time reloads.
ReloadScope
Exposes a ReloadController to descendant widgets.
ReloadSignal
One reload signal emitted by ReloadController.
WidgetApp
Runs a widget tree using an element hierarchy.

Enums

ReloadMode
The kind of reload requested through ReloadController.
ThemeMode
Controls how ArtisanalApp resolves its shell theme.

Typedefs

ReloadWidgetBuilder = Widget Function(BuildContext context, int revision)
Builder used by ReloadHost.