SemanticPage class
Top of the tree: a screen / route. Holds the optional appBar and a flat
body; not tappable itself.
- Inheritance
-
- Object
- SemanticNode
- SemanticPage
Constructors
-
SemanticPage({String? glintId, String? title, SemanticAppBar? appBar, required List<
SemanticNode> body})
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
- appBar → SemanticAppBar?
-
final
-
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
- onViewport ↔ bool?
-
For a page laid side by side in a PageView / TabBarView: whether it is the one on screen; null when not paged or not measured.
getter/setter pair
- role → SemanticRole
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
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