SemanticImage class

Inheritance

Constructors

SemanticImage({String? glintId, String? source, bool isBackground = false, bool candidate = false})

Properties

affordances → Set<Affordance>
Intrinsic role affordances are seeded at construction; mutable so a later behavior pass can add ones the role alone can't know (e.g. onTap-wrapped).
finalinherited
candidate ↔ bool
True until ImageEnricher confirms the container paints an image; unconfirmed ones are removed.
getter/setter pair
children → List<SemanticNode>
finalinherited
displayLabel → String
Short label for the plain-text renderer; each variant picks the most useful field (button label, text content, etc.).
no setteroverride
glintId → String?
Null when the node is purely structural.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
inert ↔ Inert?
Set by InertEnricher on a control faded to opacity 0 or under an active IgnorePointer / AbsorbPointer.
getter/setter pairinherited
isBackground → bool
True for a decoration image painted behind the children of its container.
final
role → SemanticRole
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source ↔ String?
Short name of what is shown (file name, asset, URL host), set by ImageEnricher.
getter/setter pair
state ↔ String?
'loaded' or 'not loaded' when the image paints through a RawImage; null when unknown.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited
walk() → Iterable<SemanticNode>
Pre-order traversal.
inherited

Operators

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