tap method

Future<void> tap(
  1. FlutterDriver driver,
  2. SerializableFinder finder,
  3. {Duration timeout = const Duration(seconds: 30)}
)

Implementation

static Future<void> tap(
  FlutterDriver driver,
  SerializableFinder finder, {
  Duration timeout = const Duration(seconds: 30),
}) async {
  await driver.tap(finder, timeout: timeout);
  await FlutterDriverUtils.waitForFlutter(driver, timeout: timeout);
}