SemanticsController class

Class that programmatically interacts with the Semantics tree.

Allows for testing of the Semantics tree, which is used by assistive technology, search engines, and other analysis software to determine the meaning of an application.

Should be accessed through WidgetController.semantics. If no custom implementation is provided, a default SemanticsController will be created.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

find(Finder finder) SemanticsNode
Attempts to find the SemanticsNode of first result from finder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simulatedAccessibilityTraversal({Finder? start, Finder? end}) Iterable<SemanticsNode>
Simulates a traversal of the currently visible semantics tree as if by assistive technologies.
toString() String
A string representation of this object.
inherited

Operators

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