MrzScannerScreenTextLocalization class
Configuration of the all strings for MRZ scanner screen.
Constructors
- MrzScannerScreenTextLocalization({String topBarTitle = "MRZ Scanner", String topBarCancelButton = "Cancel", String topUserGuidance = "Scan your Identity Document", String finderViewUserGuidance = "Scan the MRZ", String introScreenTitle = "How to scan an MRZ", String introScreenDoneButton = "Start Scanning", String introScreenText = "The Machine Readable Zone (MRZ) is a special code on your ID document (such as a passport or ID card) that contains your personal information in a machine-readable format.\n\nTo scan it, simply hold your camera over the document, so that it aligns with the MRZ section. Once scanned, the data will be automatically processed, and you will be directed to the results screen.\n\nPress 'Start Scanning' to begin.", String completionOverlaySuccessMessage = "Scanned successfully", String accessibilityDescriptionOpenIntroScreenButton = "Open introduction screen.", String accessibilityDescriptionIntroScreenDoneButton = "Start scanning", String accessibilityDescriptionCancelButton = "Cancel", 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"})
-
MrzScannerScreenTextLocalization.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
- 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
- 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