tapAt method

Future<void> tapAt (Offset location, { int pointer })

Dispatch a pointer down / pointer up sequence at the given location.

Implementation

Future<void> tapAt(Offset location, { int pointer }) {
  return TestAsyncUtils.guard<void>(() async {
    final TestGesture gesture = await startGesture(location, pointer: pointer);
    await gesture.up();
  });
}