# GenericDocumentRecognizerJsonConfiguration constructor

GenericDocumentRecognizerJsonConfiguration({

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

})

## Implementation

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