CommonFinders class

Provides convenient accessors to frequently used finders.

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 SerializableFinder of, required SerializableFinder matching, bool matchRoot = false, bool firstMatchOnly = false}) SerializableFinder
Finds the widget that is an ancestor of the of parameter and that matches the matching parameter.
bySemanticsLabel(Pattern label) SerializableFinder
Finds widgets with the given semantics label.
byTooltip(String message) SerializableFinder
Finds widgets with a tooltip with the given message.
byType(String type) SerializableFinder
Finds widgets whose class name matches the given string.
byValueKey(dynamic key) SerializableFinder
Finds widgets by key. Only String and int values can be used.
descendant({required SerializableFinder of, required SerializableFinder matching, bool matchRoot = false, bool firstMatchOnly = false}) SerializableFinder
Finds the widget that is an descendant of the of parameter and that matches the matching parameter.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageBack() SerializableFinder
Finds the back button on a Material or Cupertino page's scaffold.
text(String text) SerializableFinder
Finds widgets.Text and widgets.EditableText widgets containing string equal to text.
toString() String
A string representation of this object.
inherited

Operators

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