getNetworkImageData function

Future<Uint8List?> getNetworkImageData(
  1. String url, {
  2. bool useCache = true,
  3. StreamController<ImageChunkEvent>? chunkEvents,
})

get network image data from cached

Implementation

Future<Uint8List?> getNetworkImageData(
  String url, {
  bool useCache = true,
  StreamController<ImageChunkEvent>? chunkEvents,
}) async {
  return ExtendedNetworkImageProvider(url, cache: useCache).getNetworkImageData(
    chunkEvents: chunkEvents,
  );
}