DynamicUiEngine class

Orchestrates parser, registry, bindings, and widget factory.

Constructors

DynamicUiEngine({WidgetRegistry? registry, BindingEngine? bindingEngine})

Properties

hashCode → int
The hash code for this object.
no setterinherited
registry → WidgetRegistry
Access the registry for custom widget registration.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildFromDescriptor({required WidgetDescriptor root, required ActionHandler actionHandler, Map<String, dynamic>? bindingContext, StateAdapter? stateAdapter}) → Widget
Build a widget tree from a parsed UI root. Used internally and for testing.
buildFromMap(Map<String, dynamic> json, {required ActionHandler actionHandler, Map<String, dynamic>? bindingContext, StateAdapter? stateAdapter}) → Widget
Parse JSON map and build widget tree. Supports schemaVersion and ui wrapper.
buildFromString(String jsonString, {required ActionHandler actionHandler, Map<String, dynamic>? bindingContext, StateAdapter? stateAdapter}) → Widget
Parse JSON string and build widget tree.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited