viewer library
Minimal barrel — widget + adapter/port interfaces only. Prefer
package:appplayer_ui_view/appplayer_ui_view.dart when you need the full type surface.
Classes
- DeviceFrame
- Physical frame the UI is displayed inside. Hosts pick a preset or provide a custom size for embedded targets.
- UiRuntimePort
- Bridges a target UI runtime (Flutter, LVGL, Qt, …) to a Flutter widget.
- UiRuntimeRegistry
- Registry of installed UI runtimes keyed by id, with a secondary prefix index for target-based routing. Hosts register runtimes at boot or when a bundle that contributes one is activated.
- UiTargetSnapshot
-
Scene-level snapshot passed to a runtime for rendering. Opaque
datalets each runtime interpret its own native shape (MCP UI DSL JSON, LVGL widget tree, Qt QML, etc.) without ui_view having to know. - UiTargetUpdate
- UiView
- Read-only viewer for a single target. Wraps UiViewController with the device frame, viewport (zoom/pan), validation overlay and status strip.
- UiViewAdapter
- Data source port the host implements to feed the viewer.