Crop.asset constructor
Crop.asset(
- String assetName, {
- Key? key,
- AssetBundle? bundle,
- String? package,
- double? minimumScale,
- double? aspectRatio,
- double maximumScale = 2.0,
- bool alwaysShowGrid = false,
- ImageErrorListener? onImageError,
Implementation
Crop.asset(String assetName, {
Key? key,
AssetBundle? bundle,
String? package,
double? minimumScale,
this.aspectRatio,
this.maximumScale = 2.0,
this.alwaysShowGrid = false,
this.onImageError,
})
: this.minimumScale = minimumScale,
image = AssetImage(assetName, bundle: bundle, package: package),
super(key: key);