# DocumentCameraConfiguration constructor

DocumentCameraConfiguration({

1. required DocumentClassicScannerConfiguration scannerConfiguration,
2. bool? hardwareButtonsEnabled,
3. bool? flashEnabled,
4. ContourConfiguration? contourConfiguration,
5. double? cameraZoomFactor,
6. bool detectionEnabled = true,

})

## Implementation

    DocumentCameraConfiguration({
      required this.scannerConfiguration,
      bool? hardwareButtonsEnabled,
      this.flashEnabled,
      this.contourConfiguration,
      this.cameraZoomFactor,
      this.detectionEnabled = true,
    }) : super(hardwareButtonsEnabled: hardwareButtonsEnabled);