CropFeatureConfig constructor
const
CropFeatureConfig({
- bool enabled = true,
- int compressQuality = 90,
- List<
CropAspectRatioPresetData> aspectRatioPresets = const <CropAspectRatioPresetData>[CropAspectRatioPreset.square, CropAspectRatioPreset.original], - bool lockAspectRatio = false,
- CropStyle cropStyle = CropStyle.rectangle,
- String androidToolbarTitle = 'Crop',
- String iosTitle = 'Crop',
- int? maxWidth,
- int? maxHeight,
Implementation
const CropFeatureConfig({
this.enabled = true,
this.compressQuality = 90,
this.aspectRatioPresets = const <CropAspectRatioPresetData>[
CropAspectRatioPreset.square,
CropAspectRatioPreset.original,
],
this.lockAspectRatio = false,
this.cropStyle = CropStyle.rectangle,
this.androidToolbarTitle = 'Crop',
this.iosTitle = 'Crop',
this.maxWidth,
this.maxHeight,
});