ExtendedNetworkImageProvider constructor

ExtendedNetworkImageProvider(
  1. String url,
  2. {double scale,
  3. Map<String, String> headers,
  4. bool cache,
  5. int retries,
  6. Duration timeLimit,
  7. Duration timeRetry,
  8. CancellationToken cancelToken}
)

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

The arguments url and scale must not be null.

Implementation

factory ExtendedNetworkImageProvider(
  String url, {
  double scale,
  Map<String, String> headers,
  bool cache,
  int retries,
  Duration timeLimit,
  Duration timeRetry,
  CancellationToken cancelToken,
}) = network_image.ExtendedNetworkImageProvider;