When i used to upload image from camera some be on the top of image cropper
code
try {
if (isItPickMenu) {
Navigator.pop(context);
}
pickedFile = await ImagePicker().pickImage(
source:
imageSource); //todo if the user denied the permission
ask him again.
} catch (error) {
print(error);
}
if (pickedFile != null) {
final croppedImage = await cropImage(
cropStyle: CropStyle.rectangle,
pickedImage: pickedFile,
cropAspectRatio: const CropAspectRatio(ratioX: 3.0, ratioY: 2.0));
if (croppedImage != null) {
return croppedImage;
}
}
and Some works great