CamValue constructor

const CamValue({
  1. CameraDescription? cameraDescription,
  2. List<CameraDescription> cameras = const [],
  3. CameraType cameraType = CameraType.normal,
  4. bool enableAudio = true,
  5. FlashMode flashMode = FlashMode.off,
  6. bool isTakingPicture = false,
  7. bool isRecordingVideo = false,
  8. bool isRecordingPaused = false,
  9. bool isPlaygroundActive = false,
  10. CameraException? error,
})

Implementation

const CamValue({
  this.cameraDescription,
  this.cameras = const [],
  this.cameraType = CameraType.normal,
  this.enableAudio = true,
  this.flashMode = FlashMode.off,
  this.isTakingPicture = false,
  this.isRecordingVideo = false,
  this.isRecordingPaused = false,
  this.isPlaygroundActive = false,
  this.error,
});