tapUp static method

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

Simulates a tap up event at the specified position.

Example:

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

Implementation

static Future tapUp(Offset offset, {bool showGestureMarker = true}) async {
  GestureBinding.instance.handlePointerEvent(PointerUpEvent(
    position: offset,
  ));
  if (showGestureMarker) {
    showGestureIndicator(position: offset);
  }
}