tapDown static method
Simulates a tap down event at the specified position.
Example:
Offset? offset = EaseSimulator.getWidgetOffset(key);
await EaseSimulator.tapDown(offset);
Implementation
static Future tapDown(Offset offset, {bool showGestureMarker = true}) async {
GestureBinding.instance.handlePointerEvent(PointerDownEvent(
position: offset,
));
if (showGestureMarker) {
showGestureIndicator(position: offset);
}
}