flingRight static method

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

Flings the cell right with the specified velocity.

Implementation

static Future<void> flingRight(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();
}