CropImage constructor

const CropImage({
  1. Key? key,
  2. required Uint8List mainImage,
  3. String? text,
  4. void onChanged(
    1. Uint8List image
    )?,
  5. String saveText = "Save",
  6. String resetText = "Reset",
  7. String previewText = "Preview",
  8. String title = "Crop image as 1/1 ratio",
})

Implementation

const CropImage(
    {super.key,
    required this.mainImage,
    this.text,
    this.onChanged,
    this.saveText = "Save",
    this.resetText = "Reset",
    this.previewText = "Preview",
    this.title = "Crop image as 1/1 ratio"});