diff --git a/packages/flutter_image/lib/network.dart b/packages/flutter_image/lib/network.dart index d66ac5222dc..08b9342ca39 100644 --- a/packages/flutter_image/lib/network.dart +++ b/packages/flutter_image/lib/network.dart @@ -97,7 +97,7 @@ class NetworkImageWithRetry extends ImageProvider { } } return true; - }); + }()); } Future _loadWithRetry(NetworkImageWithRetry key) async {