Precise targets for playbook steps, for when a plain string is ambiguous.
tap(Find.icon(Icons.add)),
tap(Find.text('Delete').inside(Find.type<Card>()).at(1)),
type(Find.field('email'), 'demo@nylo.dev'),
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
byType(
Type type) → PlaybookFinder -
Widgets whose runtime type is
type. -
field(
String name) → PlaybookFinder -
The
NyFormfield calledname, e.g.Find.field('email'). -
icon(
IconData icon) → PlaybookFinder -
An
Iconshowingicon. -
input(
String text) → PlaybookFinder -
A text field with the hint, label or placeholder
text. -
key(
Key key) → PlaybookFinder -
The widget with
key. -
semantics(
String label) → PlaybookFinder -
A
Semanticswidget labelledlabel. -
target(
Object target) → PlaybookFinder -
The finder for a loose step
target: a String, Key, Type, IconData or PlaybookFinder. -
text(
String text) → PlaybookFinder -
A widget showing exactly
text: aText, a standaloneRichText, or the contents of a text field. -
textContaining(
String text) → PlaybookFinder -
A widget whose text contains
text. -
tooltip(
String message) → PlaybookFinder -
The widget a
Tooltipwithmessagewraps, like anIconButton. -
type<
T extends Widget> () → PlaybookFinder -
Widgets of type
T(exactly, not subclasses). -
where(
bool test(Widget widget), {String description = 'matching widget'}) → PlaybookFinder -
Widgets that pass
test.