longPress function

Interaction longPress(
  1. Finder finder
)

Long-presses all widgets matching finder.

Implementation

Interaction longPress(Finder finder) => (WidgetTester tester) async {
      final gestures = await tester.pressAll(finder);
      await tester.pump(kLongPressTimeout);
      return gestures.releaseAll;
    };