diff --git a/cached_network_image/lib/src/cached_image_widget.dart b/cached_network_image/lib/src/cached_image_widget.dart index 86a046b1..a23192db 100644 --- a/cached_network_image/lib/src/cached_image_widget.dart +++ b/cached_network_image/lib/src/cached_image_widget.dart @@ -240,6 +240,7 @@ class CachedNetworkImage extends StatelessWidget { this.errorListener, ImageRenderMethodForWeb imageRenderMethodForWeb = ImageRenderMethodForWeb.HtmlImage, + double scale = 1.0, }) : _image = CachedNetworkImageProvider( imageUrl, headers: httpHeaders, @@ -249,6 +250,7 @@ class CachedNetworkImage extends StatelessWidget { maxWidth: maxWidthDiskCache, maxHeight: maxHeightDiskCache, errorListener: errorListener, + scale: scale, ); @override