I'm taking a photo with the newest camera plugin version and I'm using code from flutter example. This is how I pick a camera: final cameras = await availableCameras(); final firstCamera = cameras.first; This is inside init: _cameraController = CameraController( widget.camera, ResolutionPreset.medium, enableAudio: false, ); This is the rest of the relevant code: Future _takePhoto(BuildContext cont