_getFromCamera() async {
XFile? pickedFile = await ImagePicker().pickImage(
source: ImageSource.camera,
maxWidth: 1800,
maxHeight: 1800,
);
}
It is working fine for
source: ImageSource.gallery,
but for camera, it is not working
I have tried at first flutter version upgrading, installing
permission_handler
package but not working after building the apps