# DocumentScannerCameraConfiguration constructor

DocumentScannerCameraConfiguration({

1. CameraModule cameraModule = CameraModule.BACK,
2. double defaultZoomFactor = 1.0,
3. bool autoCropOnManualSnap = true,
4. bool flashEnabled = false,
5. bool minFocusDistanceLock = false,
6. bool touchToFocusEnabled = false,
7. bool pinchToZoomEnabled = true,
8. CameraPreviewMode cameraPreviewMode = CameraPreviewMode.FILL_IN,
9. CapturePhotoQualityPrioritization captureQualityPrioritization = CapturePhotoQualityPrioritization.BALANCED,
10. double autoSnappingSensitivity = 0.66,
11. int autoSnappingDelay = 200,
12. bool autoSnappingEnabled = true,
13. bool captureWithHardwareButtonsEnabled = true,

})

## Implementation

    DocumentScannerCameraConfiguration({
      this.cameraModule = CameraModule.BACK,
      this.defaultZoomFactor = 1.0,
      this.autoCropOnManualSnap = true,
      this.flashEnabled = false,
      this.minFocusDistanceLock = false,
      this.touchToFocusEnabled = false,
      this.pinchToZoomEnabled = true,
      this.cameraPreviewMode = CameraPreviewMode.FILL_IN,
      this.captureQualityPrioritization =
          CapturePhotoQualityPrioritization.BALANCED,
      this.autoSnappingSensitivity = 0.66,
      this.autoSnappingDelay = 200,
      this.autoSnappingEnabled = true,
      this.captureWithHardwareButtonsEnabled = true,
    });