DocumentScannerJsonConfiguration constructor
DocumentScannerJsonConfiguration({
- String? version,
- String? screen,
- double? acceptedAngleScore,
- double? acceptedSizeScore,
- bool? autoSnappingButtonHidden,
- String? autoSnappingButtonTitle,
- bool? autoSnappingEnabled,
- double? autoSnappingSensitivity,
- double? autoSnappingDelay,
- Color? bottomBarBackgroundColor,
- Color? bottomBarButtonsColor,
- CameraModule? cameraModule,
- Color? cameraBackgroundColor,
- CameraPreviewMode? cameraPreviewMode,
- bool? touchToFocusEnabled,
- bool? cancelButtonHidden,
- String? cancelButtonTitle,
- ImageFilterType? defaultPageFilter,
- DocumentDetectorMode? detectorMode,
- String? enableCameraButtonTitle,
- String? enableCameraExplanationText,
- bool? flashButtonHidden,
- String? flashButtonTitle,
- bool? flashEnabled,
- bool? forceUserGuidance,
- bool? ignoreBadAspectRatio,
- double? imageScale,
- bool? multiPageButtonHidden,
- String? multiPageButtonTitle,
- bool? multiPageEnabled,
- OrientationLockMode? orientationLockMode,
- String? pageCounterButtonTitle,
- CapturePhotoQualityPrioritization? photoQualityPrioritization,
- Color? polygonBackgroundColor,
- Color? polygonBackgroundColorOK,
- Color? polygonColor,
- Color? polygonColorOK,
- double? polygonLineWidth,
- double? polygonCornerRadius,
- Color? polygonAutoSnapProgressColor,
- double? polygonAutoSnapProgressLineWidth,
- bool? polygonAutoSnapProgressEnabled,
- List<
AspectRatio> ? requiredAspectRatios, - List<
AspectRatio> ? preferredAspectRatios, - Color? shutterButtonAutoInnerColor,
- Color? shutterButtonAutoOuterColor,
- Color? shutterButtonIndicatorColor,
- Color? shutterButtonManualInnerColor,
- Color? shutterButtonManualOuterColor,
- bool? stopsCameraSessionWhenDisappeared,
- String? textHintBadAngles,
- String? textHintBadAspectRatio,
- String? textHintNothingDetected,
- String? textHintOffCenter,
- String? textHintOK,
- String? textHintTooDark,
- String? textHintTooNoisy,
- String? textHintTooSmall,
- Color? topBarBackgroundColor,
- Color? topBarButtonsActiveColor,
- Color? topBarButtonsInactiveColor,
- Color? userGuidanceBackgroundColor,
- Color? userGuidanceTextColor,
- double? userGuidanceFontSize,
- Size? documentImageSizeLimit,
- bool? shutterButtonHidden,
- String? textHintEnergySavingActive,
- int? maxNumberOfPages,
- bool? useButtonsAllCaps,
- 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,
});