Provides lightweight syntax for getting frequently used widget Finders.

This class is instantiated once, as find.

Properties

hashCode int

Get a hash code for this object.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

byConfig(Widget config, { bool skipOffstage: true }) Finder

Finds widgets whose current widget is the instance given by the argument.

byElementPredicate(ElementPredicate predicate, { String description, bool skipOffstage: true }) Finder

Finds widgets using an element predicate.

byElementType(Type type, { bool skipOffstage: true }) Finder

Finds widgets by searching for elements with a particular type.

byKey(Key key, { bool skipOffstage: true }) Finder

Finds widgets by searching for one with a particular Key.

byTooltip(String message, { bool skipOffstage: true }) Finder

Finds Tooltip widgets with the given message.

byType(Type type, { bool skipOffstage: true }) Finder

Finds widgets by searching for widgets with a particular type.

byWidgetPredicate(WidgetPredicate predicate, { String description, bool skipOffstage: true }) Finder

Finds widgets using a widget predicate.

text(String text, { bool skipOffstage: true }) Finder

Finds Text widgets containing string equal to the text argument.

widgetWithText(Type widgetType, String text, { bool skipOffstage: true }) Finder

Looks for widgets that contain a Text descendant with text in it.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() String

Returns a string representation of this object.

inherited