load method
Converts a key into an PictureStreamCompleter
, and begins fetching the
picture.
Implementation
@override
PictureStreamCompleter load(AdvancedNetworkSvg key,
{PictureErrorListener? onError}) {
return OneFramePictureStreamCompleter(
_loadAsync(key, onError: onError),
informationCollector: () sync* {
yield DiagnosticsProperty<PictureProvider>('Picture provider', this);
yield DiagnosticsProperty<AdvancedNetworkSvg>('Picture key', key);
},
);
}