SwipeOnKeyStep class

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

Examples:

Then I swipe up by 800 pixels on the "login_screen" Then I swipe left by 200 pixels on the "dismissible_list_item"

Constructors

SwipeOnKeyStep()

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 key) 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(SerializableFinder 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