DocumentDataExtractorScreenTextLocalization class

Configuration of the all strings for document data extractor screen.

Constructors

DocumentDataExtractorScreenTextLocalization.new({String topBarTitle = "Document Data Extractor", String topBarCancelButton = "Cancel", String topUserGuidance = "Point the camera at the ID document", String introScreenTitle = "How to scan an ID document", String introScreenDoneButton = "Start Scanning", String introScreenText = "To scan an ID, position the document within the frame, ensuring it's properly aligned and all key details are clearly visible. The scanner will then automatically extract essential information like name, date of birth, and document number. Once scanned, the data will be processed.\n\nPress 'Start Scanning' to begin.", String completionOverlaySuccessMessage = "Scanned successfully", String accessibilityDescriptionOpenIntroScreenButton = "Open ID document scanning introduction", String accessibilityDescriptionIntroScreenDoneButton = "Start ID scanning", String accessibilityDescriptionCancelButton = "Cancel ID scanning", String accessibilityDescriptionRetryButton = "Retry ID scanning", String accessibilityDescriptionCloseScannerButton = "Close the scanner", String documentDataExtractorAlertRetryButton = "Retry", String documentDataExtractorAlertCloseScannerButton = "Close Scanner", String documentDataExtractorNoDocumentDetectedAlertTitle = "No document detected", String documentDataExtractorNoDocumentDetectedAlertSubtitle = "The scanner couldn't detect the document. Please ensure it's well-lit and fully visible, then try again.", String documentDataExtractorCantProcessDocumentAlertTitle = "Document could not be processed", String documentDataExtractorCantProcessDocumentAlertSubtitle = "This document doesn't meet the processing requirements. Please check accepted document types and try again.", String documentDataExtractorUnsupportedDocumentAlertTitle = "Unsupported document", String documentDataExtractorUnsupportedDocumentAlertSubtitle = "This document type isn't supported. Please try again with a valid document format.", String documentDataExtractorScanningTooLongAlertTitle = "Scanning took too long", String documentDataExtractorScanningTooLongAlertSubtitle = "Scanning took longer than expected. Please ensure the document is well-lit and fully visible, then try again.", String accessibilityDescriptionFlashButton = "Toggle flash", String accessibilityDescriptionZoomButton = "Toggle camera zoom", String accessibilityDescriptionFlipCameraButton = "Flip camera", String cameraPermissionEnableCameraTitle = "Camera permission denied!", String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.", String cameraPermissionEnableCameraButton = "Grant permission", String cameraPermissionCloseButton = "Close", String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission", String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission", String documentUserGuidanceNoDocumentFound = "Looking for document...", String documentUserGuidanceScanningProgress = "Scanning the document...", String documentUserGuidanceTooDark = "Too dark. Please turn on a light.", String documentUserGuidanceTooSmall = "Please move closer to the document.", String documentUserGuidanceBadPerspective = "Please hold your device straight over the document."})
DocumentDataExtractorScreenTextLocalization.fromJson(Map<String, dynamic> json)
factory

Properties

accessibilityDescriptionCameraPermissionCloseButton String
The accessibility hint for the 'close' button of the camera permission dialog.
getter/setter pair
accessibilityDescriptionCameraPermissionEnableCameraButton String
The accessibility hint for the 'enable' button of the camera permission dialog.
getter/setter pair
accessibilityDescriptionCancelButton String
Accessibility description for the 'cancel' button in the top bar.
getter/setter pair
accessibilityDescriptionCloseScannerButton String
Accessibility description for the 'close scanner' button in the alerts.
getter/setter pair
accessibilityDescriptionFlashButton String
Accessibility description for the flash button.
getter/setter pair
accessibilityDescriptionFlipCameraButton String
Accessibility description for the flip camera button.
getter/setter pair
accessibilityDescriptionIntroScreenDoneButton String
Accessibility description for the 'done'/'start scanning' button in the introduction screen.
getter/setter pair
accessibilityDescriptionOpenIntroScreenButton String
Accessibility description for the 'open introduction screen' button in top bar.
getter/setter pair
accessibilityDescriptionRetryButton String
Accessibility description for the retry button in the alerts.
getter/setter pair
accessibilityDescriptionZoomButton String
Accessibility description for the zoom button.
getter/setter pair
cameraPermissionCloseButton String
The 'close' button title of the camera permission dialog.
getter/setter pair
cameraPermissionEnableCameraButton String
The 'enable' button title of the camera permission dialog.
getter/setter pair
cameraPermissionEnableCameraExplanation String
The explanation text of the camera permission dialog.
getter/setter pair
cameraPermissionEnableCameraTitle String
The title of the camera permission dialog.
getter/setter pair
completionOverlaySuccessMessage String
Caption for the success overlay.
getter/setter pair
documentDataExtractorAlertCloseScannerButton String
Close Scanner button text for the alert.
getter/setter pair
documentDataExtractorAlertRetryButton String
Try again button text for the alert.
getter/setter pair
documentDataExtractorCantProcessDocumentAlertSubtitle String
Subtitle for the alert when document cannot be processed.
getter/setter pair
documentDataExtractorCantProcessDocumentAlertTitle String
Title for the alert when document cannot be processed.
getter/setter pair
documentDataExtractorNoDocumentDetectedAlertSubtitle String
Subtitle for the alert when no document is detected.
getter/setter pair
documentDataExtractorNoDocumentDetectedAlertTitle String
Title for the alert when no document is detected.
getter/setter pair
documentDataExtractorScanningTooLongAlertSubtitle String
Subtitle for the alert when scanning takes too long.
getter/setter pair
documentDataExtractorScanningTooLongAlertTitle String
Title for the alert when scanning takes too long.
getter/setter pair
documentDataExtractorUnsupportedDocumentAlertSubtitle String
Subtitle for the alert when document is not supported.
getter/setter pair
documentDataExtractorUnsupportedDocumentAlertTitle String
Title for the alert when document is not supported.
getter/setter pair
documentUserGuidanceBadPerspective String
The user guidance text displayed when the detected document is not in a good perspective (device tilted).
getter/setter pair
documentUserGuidanceNoDocumentFound String
The user guidance text displayed when no document is found.
getter/setter pair
documentUserGuidanceScanningProgress String
The user guidance text displayed when a document presence was detected.
getter/setter pair
documentUserGuidanceTooDark String
The user guidance text displayed when it is too dark to capture an adequate image.
getter/setter pair
documentUserGuidanceTooSmall String
The user guidance text displayed when the detected document is too far away and appears too small.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
introScreenDoneButton String
Start scanning button text for the introduction screen.
getter/setter pair
introScreenText String
The text explanation for the introduction screen.
getter/setter pair
introScreenTitle String
Title for the introduction screen.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topBarCancelButton String
Cancel button text for the top bar.
getter/setter pair
topBarTitle String
Title for the top bar.
getter/setter pair
topUserGuidance String
Text for the top user guidance caption.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited