diff --git a/examples/flutter_gallery/test_memory/memory_nav.dart b/examples/flutter_gallery/test_memory/memory_nav.dart index b5aad66a81..8b828a76b6 100644 --- a/examples/flutter_gallery/test_memory/memory_nav.dart +++ b/examples/flutter_gallery/test_memory/memory_nav.dart @@ -79,6 +79,7 @@ Future main() async { debugPrint('Backing out...'); await controller.tap(find.byTooltip('Back')); await endOfAnimation(); + await Future.delayed(const Duration(milliseconds: 50)); } debugPrint('==== MEMORY BENCHMARK ==== DONE ====');