BaseResizeImage.memory constructor
BaseResizeImage.memory(})
Implementation
BaseResizeImage.memory(
Uint8List bytes, {
double scale = 1.0,
bool cacheRawData = false,
String? imageCacheName,
int? cacheWidth,
int? cacheHeight,
double? compressionRatio,
int? maxBytes,
}) : super(ExtendedResizeImage.resizeIfNeeded(
cacheWidth: cacheWidth,
cacheHeight: cacheHeight,
maxBytes: maxBytes,
compressionRatio: compressionRatio,
cacheRawData: cacheRawData,
imageCacheName: imageCacheName,
provider: ExtendedMemoryImageProvider(bytes,
scale: scale,
cacheRawData: cacheRawData,
imageCacheName: imageCacheName)));