DocumentScannerConfiguration constructor

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

Implementation

DocumentScannerConfiguration