IOSUiSettings constructor

IOSUiSettings({
  1. double? minimumAspectRatio,
  2. double? rectX,
  3. double? rectY,
  4. double? rectWidth,
  5. double? rectHeight,
  6. bool? showActivitySheetOnDone,
  7. bool showCancelConfirmationDialog = false,
  8. bool rotateClockwiseButtonHidden = false,
  9. bool? hidesNavigationBar,
  10. bool rotateButtonsHidden = false,
  11. bool resetButtonHidden = false,
  12. bool aspectRatioPickerButtonHidden = false,
  13. bool resetAspectRatioEnabled = true,
  14. bool aspectRatioLockDimensionSwapEnabled = false,
  15. bool aspectRatioLockEnabled = false,
  16. String? title,
  17. String? doneButtonTitle,
  18. String? cancelButtonTitle,
  19. CropStyle cropStyle = CropStyle.rectangle,
  20. List<CropAspectRatioPresetData> aspectRatioPresets = const [CropAspectRatioPreset.original, CropAspectRatioPreset.square, CropAspectRatioPreset.ratio3x2, CropAspectRatioPreset.ratio4x3, CropAspectRatioPreset.ratio16x9],
})

Implementation

IOSUiSettings({
  this.minimumAspectRatio,
  this.rectX,
  this.rectY,
  this.rectWidth,
  this.rectHeight,
  this.showActivitySheetOnDone,
  this.showCancelConfirmationDialog = false,
  this.rotateClockwiseButtonHidden = false,
  this.hidesNavigationBar,
  this.rotateButtonsHidden = false,
  this.resetButtonHidden = false,
  this.aspectRatioPickerButtonHidden = false,
  this.resetAspectRatioEnabled = true,
  this.aspectRatioLockDimensionSwapEnabled = false,
  this.aspectRatioLockEnabled = false,
  this.title,
  this.doneButtonTitle,
  this.cancelButtonTitle,
  this.cropStyle = CropStyle.rectangle,
  this.aspectRatioPresets = const [
    CropAspectRatioPreset.original,
    CropAspectRatioPreset.square,
    CropAspectRatioPreset.ratio3x2,
    CropAspectRatioPreset.ratio4x3,
    CropAspectRatioPreset.ratio16x9
  ],
});