rawImageData property
Uint8List
get
rawImageData
The raw data of image
Implementation
Uint8List get rawImageData {
assert(cacheRawData,
'you should set [ExtendedImageProvider.cacheRawData] to true, if you want to get rawImageData from provider.');
ImageProvider<Object> provider = this;
if (this is ExtendedResizeImage) {
provider = (this as ExtendedResizeImage).imageProvider;
}
assert(
rawImageDataMap.containsKey(provider),
'raw image data is not already now!',
);
final Uint8List raw = rawImageDataMap[provider]!;
return raw;
}