preferredCameraDevice property
Used to specify the camera to use when the source
is ImageSource.camera.
Ignored if the source is not ImageSource.camera, or the chosen camera is not supported on the device. Defaults to CameraDevice.rear.
Implementation
final CameraDevice preferredCameraDevice;