CameraController constructor

CameraController(
  1. CameraDescription description,
  2. ResolutionPreset resolutionPreset, {
  3. bool enableAudio = true,
  4. bool autoFocusEnabled = true,
  5. FlashMode flashMode = FlashMode.off,
  6. dynamic enableAutoExposure = true,
})

Implementation

CameraController(this.description,
    this.resolutionPreset, {
      this.enableAudio = true,
      this.autoFocusEnabled = true,
      this.flashMode = FlashMode.off,
      this.enableAutoExposure = true
    }) : super(const CameraValue.uninitialized());