DocumentScannerJsonConfiguration constructor

DocumentScannerJsonConfiguration({
  1. String? version,
  2. String? screen,
  3. double? acceptedAngleScore,
  4. double? acceptedSizeScore,
  5. bool? autoSnappingButtonHidden,
  6. String? autoSnappingButtonTitle,
  7. bool? autoSnappingEnabled,
  8. double? autoSnappingSensitivity,
  9. double? autoSnappingDelay,
  10. Color? bottomBarBackgroundColor,
  11. Color? bottomBarButtonsColor,
  12. CameraModule? cameraModule,
  13. Color? cameraBackgroundColor,
  14. CameraPreviewMode? cameraPreviewMode,
  15. bool? touchToFocusEnabled,
  16. String? cameraUnavailableExplanationText,
  17. bool? cancelButtonHidden,
  18. String? cancelButtonTitle,
  19. ImageFilterType? defaultPageFilter,
  20. DocumentDetectorMode? detectorMode,
  21. String? enableCameraButtonTitle,
  22. String? enableCameraExplanationText,
  23. bool? flashButtonHidden,
  24. String? flashButtonTitle,
  25. bool? flashEnabled,
  26. bool? forceUserGuidance,
  27. bool? ignoreBadAspectRatio,
  28. double? imageScale,
  29. bool? multiPageButtonHidden,
  30. String? multiPageButtonTitle,
  31. bool? multiPageEnabled,
  32. OrientationLockMode? orientationLockMode,
  33. String? pageCounterButtonTitle,
  34. CapturePhotoQualityPrioritization? photoQualityPrioritization,
  35. Color? polygonBackgroundColor,
  36. Color? polygonBackgroundColorOK,
  37. Color? polygonColor,
  38. Color? polygonColorOK,
  39. double? polygonLineWidth,
  40. double? polygonCornerRadius,
  41. Color? polygonAutoSnapProgressColor,
  42. double? polygonAutoSnapProgressLineWidth,
  43. bool? polygonAutoSnapProgressEnabled,
  44. List<AspectRatio>? requiredAspectRatios,
  45. List<AspectRatio>? preferredAspectRatios,
  46. Color? shutterButtonAutoInnerColor,
  47. Color? shutterButtonAutoOuterColor,
  48. Color? shutterButtonIndicatorColor,
  49. Color? shutterButtonManualInnerColor,
  50. Color? shutterButtonManualOuterColor,
  51. bool? stopsCameraSessionWhenDisappeared,
  52. String? textHintBadAngles,
  53. String? textHintBadAspectRatio,
  54. String? textHintNothingDetected,
  55. String? textHintOffCenter,
  56. String? textHintOK,
  57. String? textHintTooDark,
  58. String? textHintTooNoisy,
  59. String? textHintTooSmall,
  60. Color? topBarBackgroundColor,
  61. Color? topBarButtonsActiveColor,
  62. Color? topBarButtonsInactiveColor,
  63. Color? userGuidanceBackgroundColor,
  64. Color? userGuidanceTextColor,
  65. double? userGuidanceFontSize,
  66. Size? documentImageSizeLimit,
  67. bool? shutterButtonHidden,
  68. String? textHintEnergySavingActive,
  69. int? maxNumberOfPages,
  70. bool? useButtonsAllCaps,
  71. DocumentScannerAccessibilityConfiguration? accessibilityConfiguration,
})

Implementation

DocumentScannerJsonConfiguration({
  this.version,
  this.screen,
  this.acceptedAngleScore,
  this.acceptedSizeScore,
  this.autoSnappingButtonHidden,
  this.autoSnappingButtonTitle,
  this.autoSnappingEnabled,
  this.autoSnappingSensitivity,
  this.autoSnappingDelay,
  this.bottomBarBackgroundColor,
  this.bottomBarButtonsColor,
  this.cameraModule,
  this.cameraBackgroundColor,
  this.cameraPreviewMode,
  this.touchToFocusEnabled,
  this.cameraUnavailableExplanationText,
  this.cancelButtonHidden,
  this.cancelButtonTitle,
  this.defaultPageFilter,
  this.detectorMode,
  this.enableCameraButtonTitle,
  this.enableCameraExplanationText,
  this.flashButtonHidden,
  this.flashButtonTitle,
  this.flashEnabled,
  this.forceUserGuidance,
  this.ignoreBadAspectRatio,
  this.imageScale,
  this.multiPageButtonHidden,
  this.multiPageButtonTitle,
  this.multiPageEnabled,
  this.orientationLockMode,
  this.pageCounterButtonTitle,
  this.photoQualityPrioritization,
  this.polygonBackgroundColor,
  this.polygonBackgroundColorOK,
  this.polygonColor,
  this.polygonColorOK,
  this.polygonLineWidth,
  this.polygonCornerRadius,
  this.polygonAutoSnapProgressColor,
  this.polygonAutoSnapProgressLineWidth,
  this.polygonAutoSnapProgressEnabled,
  this.requiredAspectRatios,
  this.preferredAspectRatios,
  this.shutterButtonAutoInnerColor,
  this.shutterButtonAutoOuterColor,
  this.shutterButtonIndicatorColor,
  this.shutterButtonManualInnerColor,
  this.shutterButtonManualOuterColor,
  this.stopsCameraSessionWhenDisappeared,
  this.textHintBadAngles,
  this.textHintBadAspectRatio,
  this.textHintNothingDetected,
  this.textHintOffCenter,
  this.textHintOK,
  this.textHintTooDark,
  this.textHintTooNoisy,
  this.textHintTooSmall,
  this.topBarBackgroundColor,
  this.topBarButtonsActiveColor,
  this.topBarButtonsInactiveColor,
  this.userGuidanceBackgroundColor,
  this.userGuidanceTextColor,
  this.userGuidanceFontSize,
  this.documentImageSizeLimit,
  this.shutterButtonHidden,
  this.textHintEnergySavingActive,
  this.maxNumberOfPages,
  this.useButtonsAllCaps,
  this.accessibilityConfiguration,
});