SwipeOnTextStep class

Swipes in a cardinal direction on a widget discovered by its test.

Examples:

Then I swipe left by 400 pixels on the widget that contains the text "Dismiss Me"

Constructors

SwipeOnTextStep()

Properties

config → StepDefinitionConfiguration?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
no setter
reporter → Reporter
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
no setterinherited
world FlutterWorld
no setterinherited

Methods

executeStep(SwipeDirection direction, int swipeAmount, String text) Future<void>
expect(dynamic actual, dynamic matcher, {String? reason}) → void
inherited
expectA(dynamic actual, dynamic matcher, {String? reason}) → void
inherited
expectMatch(dynamic actual, dynamic matcher, {String? reason}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onRun(Iterable parameters) Future<void>
inherited
run(FlutterWorld world, Reporter reporter, Duration defaultTimeout, Iterable parameters) Future<StepResult>
inherited
swipeOnFinder(dynamic finder, SwipeDirection direction, int swipeAmount) Future<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

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