NetworkImageWithRetry constructor

const NetworkImageWithRetry(
  1. String? url, {
  2. double? scale = 1.0,
  3. FetchStrategy? fetchStrategy = defaultFetchStrategy,
})

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

The arguments must not be null.

Implementation

const NetworkImageWithRetry(this.url,
    {this.scale = 1.0, this.fetchStrategy = defaultFetchStrategy})
    : assert(url != null),
      assert(scale != null),
      assert(fetchStrategy != null);