IOSUiSettings constructor
IOSUiSettings({
- double? minimumAspectRatio,
- double? rectX,
- double? rectY,
- double? rectWidth,
- double? rectHeight,
- bool? showActivitySheetOnDone,
- bool showCancelConfirmationDialog = false,
- bool rotateClockwiseButtonHidden = false,
- bool rotateButtonsHidden = false,
- bool resetButtonHidden = false,
- bool aspectRatioPickerButtonHidden = false,
- bool resetAspectRatioEnabled = true,
- bool aspectRatioLockDimensionSwapEnabled = false,
- bool aspectRatioLockEnabled = false,
- String? title,
- String? doneButtonTitle,
- String? cancelButtonTitle,
- CropStyle cropStyle = CropStyle.rectangle,
- 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
],
});