TextPatternScannerScreenTextLocalization class

Configuration of the all strings for generic text scanner screen.

Constructors

TextPatternScannerScreenTextLocalization({String topBarTitle = "Text Scanner", String topBarCancelButton = "Cancel", String topUserGuidance = "Locate the text you are looking for", String finderViewUserGuidance = "Scanning for text pattern...", String introScreenTitle = "How to scan text", String introScreenDoneButton = "Start Scanning", String introScreenText = "To scan a single line of text, please hold your device so that the camera viewfinder clearly captures the text you want to scan. Please ensure the text is properly aligned. Once the scan is complete, the text will be automatically extracted.\n\nPress 'Start Scanning' to begin.", String completionOverlaySuccessMessage = "Scanned successfully", String accessibilityDescriptionOpenIntroScreenButton = "Open introduction screen.", String accessibilityDescriptionIntroScreenDoneButton = "Start scanning", String accessibilityDescriptionCancelButton = "Cancel", String textPatternConfirmationAlertTitle = "Text Detected!", String textPatternConfirmationAlertCancelButton = "Retry", String textPatternConfirmationAlertSubmitButton = "Submit", String accessibilityDescriptionConfirmationCancelButton = "Retry", String accessibilityDescriptionConfirmationSubmitButton = "Submit", 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"})
TextPatternScannerScreenTextLocalization.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
accessibilityDescriptionConfirmationCancelButton String
Accessibility description for the cancel button in the text pattern confirmation alert.
getter/setter pair
accessibilityDescriptionConfirmationSubmitButton String
Accessibility description for the submit button in the text pattern confirmation alert.
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
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
finderViewUserGuidance String
Text for the user guidance caption below the finder view.
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
textPatternConfirmationAlertCancelButton String
Cancel button text for the text pattern confirmation alert.
getter/setter pair
textPatternConfirmationAlertSubmitButton String
Submit button text for the text pattern confirmation alert.
getter/setter pair
textPatternConfirmationAlertTitle String
Title for the text pattern confirmation alert.
getter/setter pair
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