# CameraConfiguration constructor

CameraConfiguration({

1. CameraModule cameraModule = CameraModule.BACK,
2. List<double>? zoomSteps,
3. double defaultZoomFactor = 1.0,
4. bool flashEnabled = false,
5. bool minFocusDistanceLock = false,
6. bool touchToFocusEnabled = false,
7. bool pinchToZoomEnabled = true,
8. OrientationLockMode orientationLockMode = OrientationLockMode.NONE,
9. CameraPreviewMode cameraPreviewMode = CameraPreviewMode.FILL_IN,
10. bool hardwareButtonsEnabled = true,
11. int fpsLimit = 20,

})

## Implementation

    CameraConfiguration({
      this.cameraModule = CameraModule.BACK,
      List<double>? zoomSteps,
      this.defaultZoomFactor = 1.0,
      this.flashEnabled = false,
      this.minFocusDistanceLock = false,
      this.touchToFocusEnabled = false,
      this.pinchToZoomEnabled = true,
      this.orientationLockMode = OrientationLockMode.NONE,
      this.cameraPreviewMode = CameraPreviewMode.FILL_IN,
      this.hardwareButtonsEnabled = true,
      this.fpsLimit = 20,
    }) : zoomSteps = zoomSteps ?? [1.0, 2.0, 5.0];