diff --git a/packages/devtools_test/lib/src/helpers/actions.dart b/packages/devtools_test/lib/src/helpers/actions.dart index 4465cc6b7f0..b04a92a9e21 100644 --- a/packages/devtools_test/lib/src/helpers/actions.dart +++ b/packages/devtools_test/lib/src/helpers/actions.dart @@ -185,5 +185,5 @@ Future scrollToEnd(WidgetController controller) async { duration: const Duration(milliseconds: 500), curve: Curves.easeInOutCubic, ); - await controller.pump(shortPumpDuration); + await controller.pumpAndSettle(shortPumpDuration); }