CommonFinders class Null safety

Provides convenient accessors to frequently used finders.

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

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 non-existent 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