CachedNetworkImage constructor

const CachedNetworkImage(
  1. String url,
  2. CrossCache crossCache, {
  3. double scale = 1.0,
  4. Map<String, String>? headers,
  5. WebHtmlElementStrategy webHtmlElementStrategy = WebHtmlElementStrategy.never,
})

Creates an object that fetches the image at the given URL.

Implementation

const CachedNetworkImage(
  this.url,
  this.crossCache, {
  this.scale = 1.0,
  this.headers,
  this.webHtmlElementStrategy = WebHtmlElementStrategy.never,
});