UiRuntimePort class abstract
Bridges a target UI runtime (Flutter, LVGL, Qt, …) to a Flutter widget.
Each port's render must produce a Widget that visually represents the
snapshot under the requested DeviceFrame. Target-native engines that
render off-screen (LVGL SDL simulator · Qt QQuickView) wrap their output
into a Flutter Texture or PlatformView; DSL runtimes translate
directly to a Widget tree.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable runtime id (also used as registry key).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedPrefixes
→ List<
String> -
Target string prefixes this runtime claims (e.g.
ui-flutter:,ui-dsl:). Prefix collisions are rejected by the registry.no setter
Methods
-
dispose(
) → Future< void> - Release any long-lived resources (simulators, isolates, caches).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
UiTargetSnapshot snapshot, {DeviceFrame? frame, double scale = 1.0}) → Future< Widget> -
Render the given snapshot under the supplied
frame/scalehints. Implementations should return fallback widgets rather than throwing so that transient errors stay isolated inside the runtime. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited