CreditCardScannerScreenTextLocalization class
Configuration of the all strings for credit card scanner screen.
Constructors
- CreditCardScannerScreenTextLocalization.new({String topBarTitle = "Credit Card Scanner", String topBarCancelButton = "Cancel", String topUserGuidance = "Scan the credit card", String introScreenTitle = "How to scan a credit card", String introScreenDoneButton = "Start Scanning", String introScreenText = "To quickly and securely input your credit card details, please hold your device over the credit card, so that the camera aligns with the numbers on the front of the card. \n\nThe scanner will guide you to the optimal scanning position. Once the scan is complete, your card details will automatically be extracted and processed.\n\nPress 'Start Scanning' to begin.", String completionOverlaySuccessMessage = "Scanned successfully", String completionOverlayIncompleteDataMessage = "Incomplete scan", 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 creditCardUserGuidanceNoCardFound = "Looking for credit card...", String creditCardUserGuidanceScanningProgress = "Scanning the credit card...", String creditCardUserGuidanceTooDark = "Too dark. Please turn on a light.", String creditCardUserGuidanceTooSmall = "Please move closer to the credit card.", String creditCardUserGuidanceBadPerspective = "Please hold your device straight over the credit card.", 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"})
-
CreditCardScannerScreenTextLocalization.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
- completionOverlayIncompleteDataMessage ↔ String
-
Caption for the success overlay when not all data from the card was scanned.
getter/setter pair
- completionOverlaySuccessMessage ↔ String
-
Caption for the success overlay.
getter/setter pair
- creditCardUserGuidanceBadPerspective ↔ String
-
The user guidance text displayed when the detected card is not in a good perspective (device tilted).
getter/setter pair
- creditCardUserGuidanceNoCardFound ↔ String
-
The user guidance text displayed when no credit card is found.
getter/setter pair
- creditCardUserGuidanceScanningProgress ↔ String
-
The user guidance text displayed when a card presence was detected.
getter/setter pair
- creditCardUserGuidanceTooDark ↔ String
-
The user guidance text displayed when it is too dark to capture an adequate image.
getter/setter pair
- creditCardUserGuidanceTooSmall ↔ String
-
The user guidance text displayed when the detected card 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 of 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