SemanticScene class

Module C output. The Interactor still uses sourceScene for the raw hit-test geometry, so callers own its dispose().

Constructors

SemanticScene({required SemanticNode root, required Scene sourceScene, List<RouteFrame> routeStack = const [], List<SemanticOverlayLayer> overlayLayers = const []})

Properties

hashCode → int
The hash code for this object.
no setterinherited
overlayLayers ↔ List<SemanticOverlayLayer>
Active overlay layers (dialogs, bottom sheets) above the base screen. Topmost-first. Empty when no overlay is present.
getter/setter pair
root → SemanticNode
final
routeStack ↔ List<RouteFrame>
Topmost-first. v0 surfaces only the topmost route; deeper-stack enumeration is deferred.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceScene → Scene
final

Methods

allNodes() → Iterable<SemanticNode>
Every node an agent can see: overlay layers first (they sit on top), then the page.
findByGlintId(String glintId) → SemanticNode?
The node with glintId, or the node it was renamed to (see Scene.findByGlintId).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sourceFor(String glintId) → SceneNode?
Raw SceneNode behind a glintId — one shared lazy index so enrichers don't each re-walk sourceScene.
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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