AdvancedNetworkSvg constructor
AdvancedNetworkSvg(
- String url,
- PictureInfoDecoderBuilder<
Uint8List?> decoder, { - double scale = 1.0,
- Map<
String, String> ? header, - ColorFilter? colorFilter,
- bool useDiskCache = false,
- int retryLimit = 5,
- Duration retryDuration = const Duration(milliseconds: 500),
- double retryDurationFactor = 1.5,
- Duration timeoutDuration = const Duration(seconds: 5),
- Function? loadedCallback,
- Function? loadFailedCallback,
- String? fallbackAssetImage,
- Uint8List? fallbackImage,
- CacheRule? cacheRule,
- UrlResolver? getRealUrl,
- bool printError = false,
- 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);