This commit is contained in:
Hamza-Ayed
2024-07-21 09:48:56 +03:00
parent 6889985afc
commit 485928d8c1
16 changed files with 860 additions and 385 deletions

View File

@@ -23,13 +23,6 @@ class ImageController extends GetxController {
image = File(pickedImage!.path);
croppedFile = await ImageCropper().cropImage(
sourcePath: image!.path,
aspectRatioPresets: [
CropAspectRatioPreset.square,
CropAspectRatioPreset.ratio3x2,
CropAspectRatioPreset.original,
CropAspectRatioPreset.ratio4x3,
CropAspectRatioPreset.ratio16x9
],
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Cropper'.tr,