CropWidget constructor

const CropWidget({
  1. Key? key,
  2. required Image image,
  3. required Rect cropRect,
  4. double? aspectRatio,
  5. bool lockAspectRatio = false,
  6. required dynamic onCropChanged(
    1. Rect
    ),
})

Implementation

const CropWidget({
  super.key,
  required this.image,
  required this.cropRect,
  this.aspectRatio,
  this.lockAspectRatio = false,
  required this.onCropChanged,
});