getNetworkImageData static method
Future<Uint8List?>
getNetworkImageData(
- String url, {
- bool useCache = true,
- String? cacheKey,
- String? cacheTag,
- StreamController<
ImageChunkEvent> ? chunkEvents,
get network image data from cached
Implementation
static Future<Uint8List?> getNetworkImageData(
String url, {
bool useCache = true,
String? cacheKey,
String? cacheTag,
StreamController<ImageChunkEvent>? chunkEvents,
}) async {
return BaseExtendedNetworkImageProvider(url,
cache: useCache, cacheKey: keyToTagMd5(url, cacheKey, cacheTag))
.getNetworkImageData(
chunkEvents: chunkEvents,
);
}