CropperImage constructor
CropperImage(
- ImageProvider<
Object> image, { - Key? key,
- CropperController? controller,
- bool limitations = true,
- bool isCircular = false,
- Color backgroundColor = Colors.black,
- Color maskColor = _defualtMaskColor,
- Color lineColor = Colors.white,
- double lineWidth = 3,
- double? aspectRatio,
- double outHeight = 256,
- double outWidth = 256,
- double maskPadding = 50.0,
- double round = 30.0,
Implementation
CropperImage(
this.image, {
Key? key,
this.controller,
this.limitations = true,
this.isCircular = false,
this.backgroundColor = Colors.black,
this.maskColor = _defualtMaskColor,
this.lineColor = Colors.white,
this.lineWidth = 3,
this.aspectRatio,
this.outHeight = 256,
this.outWidth = 256,
this.maskPadding = 50.0,
this.round = 30.0,
}) : super(key: key);