FinderDocumentScannerConfiguration constructor

FinderDocumentScannerConfiguration({
  1. String? version,
  2. String? screen,
  3. double? acceptedAngleScore,
  4. double? acceptedSizeScore,
  5. double? acceptedBrightnessThreshold,
  6. bool? autoSnappingEnabled,
  7. double? autoSnappingSensitivity,
  8. double? autoSnappingDelay,
  9. CameraModule? cameraModule,
  10. Color? cameraBackgroundColor,
  11. CameraPreviewMode? cameraPreviewMode,
  12. bool? touchToFocusEnabled,
  13. String? cameraUnavailableExplanationText,
  14. String? cancelButtonTitle,
  15. ImageFilterType? defaultPageFilter,
  16. DocumentScannerEngineMode? engineMode,
  17. String? enableCameraButtonTitle,
  18. String? enableCameraExplanationText,
  19. bool? flashButtonHidden,
  20. bool? flashEnabled,
  21. bool? forceUserGuidance,
  22. bool? finderEnabled,
  23. Color? finderLineColor,
  24. double? finderLineWidth,
  25. Color? cameraOverlayColor,
  26. AspectRatio? finderAspectRatio,
  27. bool? ignoreOrientationMismatch,
  28. double? imageScale,
  29. OrientationLockMode? orientationLockMode,
  30. CapturePhotoQualityPrioritization? photoQualityPrioritization,
  31. bool? polygonEnabled,
  32. Color? polygonBackgroundColor,
  33. Color? polygonBackgroundColorOK,
  34. Color? polygonColor,
  35. Color? polygonColorOK,
  36. double? polygonLineWidth,
  37. double? polygonCornerRadius,
  38. Color? autoSnapProgressColor,
  39. double? autoSnapProgressLineWidth,
  40. bool? autoSnapProgressEnabled,
  41. bool? lockDocumentAspectRatioToFinder,
  42. Color? shutterButtonAutoInnerColor,
  43. Color? shutterButtonAutoOuterColor,
  44. Color? shutterButtonIndicatorColor,
  45. Color? shutterButtonManualInnerColor,
  46. Color? shutterButtonManualOuterColor,
  47. bool? stopsCameraSessionWhenDisappeared,
  48. String? textHintBadAngles,
  49. String? textHintBadAspectRatio,
  50. String? textHintNothingDetected,
  51. String? textHintOffCenter,
  52. String? textHintOK,
  53. String? textHintTooDark,
  54. String? textHintTooNoisy,
  55. String? textHintTooSmall,
  56. Color? topBarBackgroundColor,
  57. Color? topBarButtonsActiveColor,
  58. Color? topBarButtonsInactiveColor,
  59. Color? userGuidanceBackgroundColor,
  60. Color? userGuidanceTextColor,
  61. double? userGuidanceFontSize,
  62. Size? documentImageSizeLimit,
  63. bool? shutterButtonHidden,
  64. String? textHintEnergySavingActive,
  65. bool? useButtonsAllCaps,
  66. FinderDocumentScannerAccessibilityConfiguration? accessibilityConfiguration,
})

Implementation

FinderDocumentScannerConfiguration({
  this.version,
  this.screen,
  this.acceptedAngleScore,
  this.acceptedSizeScore,
  this.acceptedBrightnessThreshold,
  this.autoSnappingEnabled,
  this.autoSnappingSensitivity,
  this.autoSnappingDelay,
  this.cameraModule,
  this.cameraBackgroundColor,
  this.cameraPreviewMode,
  this.touchToFocusEnabled,
  this.cameraUnavailableExplanationText,
  this.cancelButtonTitle,
  this.defaultPageFilter,
  this.engineMode,
  this.enableCameraButtonTitle,
  this.enableCameraExplanationText,
  this.flashButtonHidden,
  this.flashEnabled,
  this.forceUserGuidance,
  this.finderEnabled,
  this.finderLineColor,
  this.finderLineWidth,
  this.cameraOverlayColor,
  this.finderAspectRatio,
  this.ignoreOrientationMismatch,
  this.imageScale,
  this.orientationLockMode,
  this.photoQualityPrioritization,
  this.polygonEnabled,
  this.polygonBackgroundColor,
  this.polygonBackgroundColorOK,
  this.polygonColor,
  this.polygonColorOK,
  this.polygonLineWidth,
  this.polygonCornerRadius,
  this.autoSnapProgressColor,
  this.autoSnapProgressLineWidth,
  this.autoSnapProgressEnabled,
  this.lockDocumentAspectRatioToFinder,
  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.useButtonsAllCaps,
  this.accessibilityConfiguration,
});