CommonSemanticsFinders class

Provides lightweight syntax for getting frequently used semantics finders.

This class is instantiated once, as CommonFinders.semantics, under find.

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

ancestor({required FinderBase<SemanticsNode> of, required FinderBase<SemanticsNode> matching, bool matchRoot = false}) FinderBase<SemanticsNode>
Finds an ancestor of of that matches matching.
byAction(SemanticsAction action, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has the given SemanticsAction.
byAnyAction(List<SemanticsAction> actions, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has at least one of the given SemanticsActions.
byAnyFlag(List<SemanticsFlag> flags, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has at least one of the given SemanticsFlags.
byFlag(SemanticsFlag flag, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has the given SemanticsFlag.
byHint(Pattern hint, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has a SemanticsNode.hint that matches the given hint.
byLabel(Pattern label, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has a SemanticsNode.label that matches the given label.
byPredicate(SemanticsNodePredicate predicate, {DescribeMatchCallback? describeMatch, FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes matching the given predicate.
byValue(Pattern value, {FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that has a SemanticsNode.value that matches the given value.
descendant({required FinderBase<SemanticsNode> of, required FinderBase<SemanticsNode> matching, bool matchRoot = false}) FinderBase<SemanticsNode>
Finds a descendant of of that matches matching.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollable({Axis? axis, FlutterView? view}) SemanticsFinder
Finds any SemanticsNodes that can scroll in at least one direction.
toString() String
A string representation of this object.
inherited

Operators

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