diff --git a/packages/flutter/lib/src/material/refresh_indicator.dart b/packages/flutter/lib/src/material/refresh_indicator.dart index 1ce4f428da..e75c90e443 100644 --- a/packages/flutter/lib/src/material/refresh_indicator.dart +++ b/packages/flutter/lib/src/material/refresh_indicator.dart @@ -298,6 +298,7 @@ class RefreshIndicatorState extends State with TickerProviderS // Stop showing the refresh indicator. Future _dismiss(_RefreshIndicatorMode newMode) async { + await new Future.value(); // This can only be called from _show() when refreshing and // _handleScrollNotification in response to a ScrollEndNotification or // direction change.