tap method

Future<void> tap (SerializableFinder finder, { Duration timeout })

Taps at the center of the widget located by finder.

Implementation

Future<void> tap(SerializableFinder finder, {Duration timeout}) async {
  timeout ??= _shortTimeout(timeoutMultiplier);
  await _sendCommand(Tap(finder, timeout: timeout));
}