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
Properties
- config → StepDefinitionConfiguration
-
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- pattern → RegExp
-
read-only
- reporter → Reporter
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- timeout → Duration
-
read-only, inherited
- world → FlutterWorld
-
read-only, inherited
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 non-existent 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> -
@protected, inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited