CachedNetworkImageProvider constructor
const
CachedNetworkImageProvider(})
Creates an ImageProvider which loads an image from the url
, using the scale
.
When the image fails to load errorListener
is called.
Implementation
const CachedNetworkImageProvider(
this.url, {
this.maxHeight,
this.maxWidth,
this.scale = 1.0,
this.errorListener,
this.headers,
this.cacheManager,
this.cacheKey,
this.imageRenderMethodForWeb = ImageRenderMethodForWeb.HtmlImage,
});