tap static method

Future tap(
  1. Offset offset, {
  2. bool showGestureMarker = true,
})

Simulates a tap event (tap down followed by tap up) at the specified position.

Example:

Offset? offset = EaseSimulator.getWidgetOffset(key);
await EaseSimulator.tap(offset);

Implementation

static Future tap(Offset offset, {bool showGestureMarker = true}) async {
  await tapDown(offset, showGestureMarker: showGestureMarker);
  await tapUp(offset, showGestureMarker: showGestureMarker);
}