CropperImage constructor

CropperImage(
  1. ImageProvider<Object> image, {
  2. Key? key,
  3. CropperController? controller,
  4. bool limitations = true,
  5. bool isCircular = false,
  6. Color backgroundColor = Colors.black,
  7. Color maskColor = _defualtMaskColor,
  8. Color lineColor = Colors.white,
  9. double lineWidth = 3,
  10. double? aspectRatio,
  11. double outHeight = 256,
  12. double outWidth = 256,
  13. double maskPadding = 50.0,
  14. 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);