BaseResizeImage.asset constructor
BaseResizeImage.asset(})
Implementation
BaseResizeImage.asset(
String assetName, {
AssetBundle? bundle,
String? package,
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: ExtendedAssetImageProvider(assetName,
bundle: bundle,
package: package,
cacheRawData: cacheRawData,
imageCacheName: imageCacheName)));