diff --git a/cached_network_image/lib/src/cached_image_widget.dart b/cached_network_image/lib/src/cached_image_widget.dart index fb164cf4..2de02658 100644 --- a/cached_network_image/lib/src/cached_image_widget.dart +++ b/cached_network_image/lib/src/cached_image_widget.dart @@ -55,7 +55,8 @@ class CachedNetworkImage extends StatelessWidget { BaseCacheManager? cacheManager, double scale = 1, }) async { - final effectiveCacheManager = cacheManager ?? CachedNetworkImageProvider.defaultCacheManager; + final effectiveCacheManager = + cacheManager ?? CachedNetworkImageProvider.defaultCacheManager; await effectiveCacheManager.removeFile(cacheKey ?? url); return CachedNetworkImageProvider(url, scale: scale).evict(); }