ImgCrop.asset constructor
ImgCrop.asset(
- String assetName, {
- Key? key,
- required AssetBundle bundle,
- String? package,
- double chipRadius = 150,
- double maximumScale = 2.0,
- ImageErrorListener? onImageError,
- Color? stokenColor = Colors.white,
- double? stokenWidth = 2,
- ChipShape chipShape = ChipShape.circle,
Implementation
ImgCrop.asset(
String assetName, {
Key? key,
required AssetBundle bundle,
String? package,
this.chipRadius = 150,
this.maximumScale = 2.0,
this.onImageError,
this.stokenColor = Colors.white,
this.stokenWidth = 2,
this.chipShape = ChipShape.circle,
}) : image = AssetImage(assetName, bundle: bundle, package: package),
super(key: key);