CameraValue.uninitialized constructor

const CameraValue.uninitialized(
  1. CameraDescription description
)

Creates a new camera controller state for an uninitialized controller.

Implementation

const CameraValue.uninitialized(CameraDescription description)
    : this(
        isInitialized: false,
        isRecordingVideo: false,
        isTakingPicture: false,
        isStreamingImages: false,
        isRecordingPaused: false,
        flashMode: FlashMode.auto,
        exposureMode: ExposureMode.auto,
        exposurePointSupported: false,
        focusMode: FocusMode.auto,
        focusPointSupported: false,
        deviceOrientation: DeviceOrientation.portraitUp,
        isPreviewPaused: false,
        description: description,
      );