TreeCapture class
Captures the live Flutter semantics tree as a flat, raw list.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
capture(
Rect viewport) → RawTree? - Walk the live semantics tree.
-
currentSemanticsRoot(
) → SemanticsNode? - The live semantics root as last built, or null while semantics are off. Never flushes.
-
logicalBounds(
SemanticsNode node) → Rect -
node's bounds in root logical pixels — the space RawNode.bounds and pointer positions use. Reads the tree as last built; never flushes. -
releaseSemantics(
) → void - Release the retained handle.
-
retainSemantics(
) → void - Keep the semantics tree built for readers other than capture (click tracking). Idempotent; shares capture's handle.
Constants
- kOptionGroupMaxItems → const int
- Largest sibling group read as one set of options.