SceneCompactor class

Strips framework noise: expandChild spills nameless pass-throughs into the parent's child list; hoistPage surfaces a SemanticPage past app-shell wrappers.

Constructors

SceneCompactor()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

expandChild(SemanticNode node, {bool imageCandidate = false}) → Iterable<SemanticNode>
With imageCandidate, a dissolved node leaves a pending SemanticImage ahead of its children for ImageEnricher to confirm or drop.
hoistPage(SemanticNode root) → SemanticNode
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintsDecorationImage(SceneNode node) → bool
Widgets whose decoration can paint an image, which dissolving would hide.
toString() → String
A string representation of this object.
inherited

Operators

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