SemanticText class
- Inheritance
-
- Object
- SemanticNode
- SemanticText
Constructors
- SemanticText({String? glintId, required String content})
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
-
children
→ List<
SemanticNode> -
finalinherited
- content → String
-
final
- 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
- role → SemanticRole
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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