You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ujwal-yadav-aot
changed the title
Navigating to previous page without any error on Ios
Navigating to previous page without any error on IOS
Oct 7, 2024
Im Cropping Image It works perfectly but if i click on yellow check as per image provided it is navigating to previous page without any error
my code is :
Future cropImage(String imagePath, CropStyle? cropStyle,
CropAspectRatio? aspectRatio) async {
File? croppedImage;
await ImageCropper().cropImage(
sourcePath: imagePath,
aspectRatio: aspectRatio,
uiSettings: [
AndroidUiSettings(
toolbarTitle: 'Crop Image',
toolbarWidgetColor: Colors.white,
showCropGrid: false,
toolbarColor: PrimaryPurple,
initAspectRatio: CropAspectRatioPreset.original,
lockAspectRatio: true,
cropStyle: cropStyle ?? CropStyle.circle,
hideBottomControls: true),
IOSUiSettings(
aspectRatioPickerButtonHidden: true,
aspectRatioLockEnabled: true,
hidesNavigationBar: true,
aspectRatioLockDimensionSwapEnabled: true,
resetButtonHidden: true,
rotateButtonsHidden: true,
title: 'Crop Image',
cropStyle: cropStyle ?? CropStyle.circle,
resetAspectRatioEnabled: false)
],
).then((value) {
if (value != null) {
croppedImage = File(value.path);
} else {
croppedImage = null;
}
});
}
using lates version of image_cropper
The text was updated successfully, but these errors were encountered: