# GenericDocumentRecognizerConfiguration constructor

GenericDocumentRecognizerConfiguration({

1. bool? flashEnabled,
2. OrientationLockMode? orientationLockMode,
3. CameraModule? cameraModule,
4. Color? topBarBackgroundColor,
5. Color? topBarButtonsActiveColor,
6. Color? topBarButtonsInactiveColor,
7. Color? cameraOverlayColor,
8. Color? finderLineColor,
9. double? finderLineWidth,
10. Color? fieldsCountTextColor,
11. Color? fieldConfidenceHighColor,
12. Color? fieldConfidenceModerateColor,
13. Color? fieldConfidenceLowColor,
14. Color? fieldConfidenceTextColor,
15. Color? tipTextColor,
16. Color? tipBackgroundColor,
17. Color? detailsBackgroundColor,
18. Color? detailsPrimaryColor,
19. Color? detailsActionColor,
20. Color? detailsSectionHeaderTextColor,
21. Color? detailsSectionHeaderBackgroundColor,
22. String? cancelButtonTitle,
23. bool? cancelButtonHidden,
24. String? clearButtonTitle,
25. String? submitButtonTitle,
26. String? fieldsCountText,
27. String? confidenceValue,
28. String? scanBackSideTitle,
29. String? scanFrontSideTitle,
30. String? startScanningTitle,
31. String? scannedEverythingTitle,
32. String? emptyValueTitle,
33. String? enableCameraButtonTitle,
34. String? enableCameraExplanationText,
35. String? imageTitle,
36. String? noDataTitle,
37. List<GenericDocumentType>? acceptedDocumentTypes,
38. List<FieldsDisplayConfiguration>? fieldsDisplayConfiguration,
39. List<DocumentsDisplayConfiguration>? documentsDisplayConfiguration,
40. List<String>? excludedFieldTypes,
41. bool? flashButtonHidden,
42. String? flashButtonTitle,
43. bool? useButtonsAllCaps,
44. bool? replaceCancelButtonWithIcon,
45. CameraPreviewMode? cameraPreviewMode,
46. bool? touchToFocusEnabled,

})

## Implementation

    GenericDocumentRecognizerConfiguration({
      super.flashEnabled,
      super.orientationLockMode,
      super.cameraModule,
      super.topBarBackgroundColor,
      super.topBarButtonsActiveColor,
      super.topBarButtonsInactiveColor,
      super.cameraOverlayColor,
      super.finderLineColor,
      super.finderLineWidth,
      super.fieldsCountTextColor,
      super.fieldConfidenceHighColor,
      super.fieldConfidenceModerateColor,
      super.fieldConfidenceLowColor,
      super.fieldConfidenceTextColor,
      super.tipTextColor,
      super.tipBackgroundColor,
      super.detailsBackgroundColor,
      super.detailsPrimaryColor,
      super.detailsActionColor,
      super.detailsSectionHeaderTextColor,
      super.detailsSectionHeaderBackgroundColor,
      super.cancelButtonTitle,
      super.cancelButtonHidden,
      super.clearButtonTitle,
      super.submitButtonTitle,
      super.fieldsCountText,
      super.confidenceValue,
      super.scanBackSideTitle,
      super.scanFrontSideTitle,
      super.startScanningTitle,
      super.scannedEverythingTitle,
      super.emptyValueTitle,
      super.enableCameraButtonTitle,
      super.enableCameraExplanationText,
      super.imageTitle,
      super.noDataTitle,
      super.acceptedDocumentTypes,
      super.fieldsDisplayConfiguration,
      super.documentsDisplayConfiguration,
      super.excludedFieldTypes,
      super.flashButtonHidden,
      super.flashButtonTitle,
      super.useButtonsAllCaps,
      super.replaceCancelButtonWithIcon,
      super.cameraPreviewMode,
      super.touchToFocusEnabled,
    });