flingLeft static method

Future<void> flingLeft(
  1. WidgetTester tester,
  2. Finder finder, {
  3. double velocity = 1000,
})

Flings the cell left with the specified velocity.

Implementation

static Future<void> flingLeft(WidgetTester tester, Finder finder,
    {double velocity = 1000}) async {
  await tester.fling(
      finder, const Offset(-100, 0), velocity.clamp(100, double.infinity),
      warnIfMissed: false);
  await tester.pumpAndSettle();
}