ImageCropper constructor

const ImageCropper({
  1. Key? key,
  2. required Image image,
  3. BoxFit fit = BoxFit.cover,
  4. Size exportSize = const Size(500, 500),
  5. Color? exportBackgroundColor,
  6. ClipShape clipShape = ClipShape.circle,
  7. bool clipImage = false,
  8. Radius clipRRectRadius = const Radius.circular(10),
})

Implementation

const ImageCropper({
  Key? key,
  required this.image,
  this.fit = BoxFit.cover,
  this.exportSize = const Size(500, 500),
  this.exportBackgroundColor,
  this.clipShape = ClipShape.circle,
  this.clipImage = false,
  this.clipRRectRadius = const Radius.circular(10),
}) : super(key: key);