UImageCropper constructor

const UImageCropper({
  1. required Uint8List bytes,
  2. Key? key,
  3. String? title,
  4. UCropShape shape = UCropShape.rectangle,
  5. List<UCropAspectRatio>? aspectRatios,
  6. double? initialAspectRatio,
  7. bool allowRotate = true,
  8. bool allowFlip = true,
  9. bool allowAdjust = true,
  10. bool allowShapeToggle = false,
  11. int? maxWidth,
  12. int? maxHeight,
})

Implementation

const UImageCropper({
  required this.bytes,
  super.key,
  this.title,
  this.shape = UCropShape.rectangle,
  this.aspectRatios,
  this.initialAspectRatio,
  this.allowRotate = true,
  this.allowFlip = true,
  this.allowAdjust = true,
  this.allowShapeToggle = false,
  this.maxWidth,
  this.maxHeight,
});