EaseSimulator class

A class that provides methods for simulating App

Constructors

EaseSimulator()

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

getWidgetOffset(GlobalKey<State<StatefulWidget>> key) Offset?
Gets the offset of a widget identified by its GlobalKey.
insertText(String text) Future
Inserts text into a text input field.
longPress(Offset offset, {bool showGestureMarker = true}) Future
Simulates a long press event at the specified position.
pinch(Offset focalPoint1, Offset focalPoint2) Future
Simulates a pinch gesture.
scroll(Offset startOffset, Offset endOffset) Future
Simulates a scroll gesture starting from the given start offset to the end offset.
showGestureIndicator({required Offset position, Color color = Colors.red}) → void
tap(Offset offset, {bool showGestureMarker = true}) Future
Simulates a tap event (tap down followed by tap up) at the specified position.
tapDown(Offset offset, {bool showGestureMarker = true}) Future
Simulates a tap down event at the specified position.
tapUp(Offset offset, {bool showGestureMarker = true}) Future
Simulates a tap up event at the specified position.
zoom(Offset focalPoint1, Offset focalPoint2) Future
Simulates a zoom gesture.