Although downgrading or using camera ^0.10.6 can temporarily resolve this issue, it still crashes on some devices. My test device is a Samsung S21, and it crashes when I open the camera (after permission is granted). Declaring camera: 0.11.0+2 and camera_android_camerax: 0.6.11 in the pubspec.yaml file resolves this issue. Remember to run flutter pub upgrade.