AdvancedNetworkSvg constructor

AdvancedNetworkSvg(
  1. String url,
  2. PictureInfoDecoderBuilder<Uint8List?> decoder, {
  3. double scale = 1.0,
  4. Map<String, String>? header,
  5. ColorFilter? colorFilter,
  6. bool useDiskCache = false,
  7. int retryLimit = 5,
  8. Duration retryDuration = const Duration(milliseconds: 500),
  9. double retryDurationFactor = 1.5,
  10. Duration timeoutDuration = const Duration(seconds: 5),
  11. Function? loadedCallback,
  12. Function? loadFailedCallback,
  13. String? fallbackAssetImage,
  14. Uint8List? fallbackImage,
  15. CacheRule? cacheRule,
  16. UrlResolver? getRealUrl,
  17. bool printError = false,
  18. List<int>? skipRetryStatusCode,
})

Implementation

AdvancedNetworkSvg(
  this.url,
  PictureInfoDecoderBuilder<Uint8List?> decoder, {
  this.scale = 1.0,
  this.header,
  this.colorFilter,
  this.useDiskCache = false,
  this.retryLimit = 5,
  this.retryDuration = const Duration(milliseconds: 500),
  this.retryDurationFactor = 1.5,
  this.timeoutDuration = const Duration(seconds: 5),
  this.loadedCallback,
  this.loadFailedCallback,
  this.fallbackAssetImage,
  this.fallbackImage,
  this.cacheRule,
  this.getRealUrl,
  this.printError = false,
  this.skipRetryStatusCode,
}) : super(colorFilter, decoderBuilder: decoder);