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. String? cameraUnavailableExplanationText,
  16. bool? cancelButtonHidden,
  17. String? cancelButtonTitle,
  18. ImageFilterType? defaultPageFilter,
  19. DocumentDetectorMode? detectorMode,
  20. String? enableCameraButtonTitle,
  21. String? enableCameraExplanationText,
  22. bool? flashButtonHidden,
  23. String? flashButtonTitle,
  24. bool? flashEnabled,
  25. bool? forceUserGuidance,
  26. bool? ignoreBadAspectRatio,
  27. double? imageScale,
  28. bool? multiPageButtonHidden,
  29. String? multiPageButtonTitle,
  30. bool? multiPageEnabled,
  31. OrientationLockMode? orientationLockMode,
  32. String? pageCounterButtonTitle,
  33. CapturePhotoQualityPrioritization? photoQualityPriorization,
  34. Color? polygonBackgroundColor,
  35. Color? polygonBackgroundColorOK,
  36. Color? polygonColor,
  37. Color? polygonColorOK,
  38. double? polygonLineWidth,
  39. double? polygonCornerRadius,
  40. Color? polygonAutoSnapProgressColor,
  41. double? polygonAutoSnapProgressLineWidth,
  42. bool? polygonAutoSnapProgressEnabled,
  43. List<AspectRatio>? requiredAspectRatios,
  44. List<AspectRatio>? preferredAspectRatios,
  45. Color? shutterButtonAutoInnerColor,
  46. Color? shutterButtonAutoOuterColor,
  47. Color? shutterButtonIndicatorColor,
  48. Color? shutterButtonManualInnerColor,
  49. Color? shutterButtonManualOuterColor,
  50. bool? stopsCameraSessionWhenDisappeared,
  51. String? textHintBadAngles,
  52. String? textHintBadAspectRatio,
  53. String? textHintNothingDetected,
  54. String? textHintOffCenter,
  55. String? textHintOK,
  56. String? textHintTooDark,
  57. String? textHintTooNoisy,
  58. String? textHintTooSmall,
  59. Color? topBarBackgroundColor,
  60. Color? topBarButtonsActiveColor,
  61. Color? topBarButtonsInactiveColor,
  62. Color? userGuidanceBackgroundColor,
  63. Color? userGuidanceTextColor,
  64. double? userGuidanceFontSize,
  65. Size? documentImageSizeLimit,
  66. bool? shutterButtonHidden,
  67. String? textHintEnergySavingActive,
  68. int? maxNumberOfPages,
  69. bool? useButtonsAllCaps,
  70. 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.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.photoQualityPriorization,
  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,
});