flutter_image_cropper
flutter_image_cropper copied to clipboard
Impossible to change hardcoded minimum size for crop area
It is currently impossible to crop smaller areas. I need to be able to crop small areas but it is impossible to do so as there is a minimum size beyond which it is impossible to drag the corners.
This is on android. I am not sure if the same thing happens on iOS.
CroppedFile? cropped = (await ImageCropper().cropImage( sourcePath: image.path, //aspectRatio: CropAspectRatio(ratioX: 1, ratioY: 1), compressQuality: 100, maxWidth: 700, maxHeight: 700, compressFormat: ImageCompressFormat.jpg, uiSettings: [ AndroidUiSettings( toolbarTitle: 'Crop me!!', toolbarColor: Colors.deepOrange, toolbarWidgetColor: Colors.white, //initAspectRatio: CropAspectRatioPreset.original, hideBottomControls: true, lockAspectRatio: false, initAspectRatio: CropAspectRatioPreset.ratio16x9, ), IOSUiSettings( title: 'Drag corners to select \n ONLY the exercise you want to solve', rectHeight: 10000, rectWidth: 30000, rectX: 1, rectY: 30000) ] ));
Any ideas?