XCameraValue constructor

const XCameraValue({
  1. CameraDescription? cameraDescription,
  2. List<CameraDescription> cameras = const [],
  3. CameraType cameraType = CameraType.normal,
  4. FlashMode flashMode = FlashMode.off,
  5. bool isTakingPicture = false,
  6. CameraException? error,
})

Implementation

const XCameraValue({
  this.cameraDescription,
  this.cameras = const [],
  this.cameraType = CameraType.normal,
  this.flashMode = FlashMode.off,
  this.isTakingPicture = false,
  this.error,
});