longPress function
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;
};