BaseResizeImage.file constructor
BaseResizeImage.file(})
Implementation
BaseResizeImage.file(
File file, {
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: ExtendedFileImageProvider(file,
cacheRawData: cacheRawData,
scale: scale,
imageCacheName: imageCacheName)));