CreditCardScannerScreenTextLocalization constructor

CreditCardScannerScreenTextLocalization({
  1. String topBarTitle = "Credit Card Scanner",
  2. String topBarCancelButton = "Cancel",
  3. String topUserGuidance = "Scan the credit card",
  4. String introScreenTitle = "How to scan a credit card",
  5. String introScreenDoneButton = "Start Scanning",
  6. 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.",
  7. String completionOverlaySuccessMessage = "Scanned successfully",
  8. String completionOverlayIncompleteDataMessage = "Incomplete scan",
  9. String accessibilityDescriptionOpenIntroScreenButton = "Open introduction screen.",
  10. String accessibilityDescriptionIntroScreenDoneButton = "Start scanning",
  11. String accessibilityDescriptionCancelButton = "Cancel",
  12. String accessibilityDescriptionFlashButton = "Toggle flash",
  13. String accessibilityDescriptionZoomButton = "Toggle camera zoom",
  14. String accessibilityDescriptionFlipCameraButton = "Flip camera",
  15. String creditCardUserGuidanceNoCardFound = "Looking for credit card...",
  16. String creditCardUserGuidanceScanningProgress = "Scanning the credit card...",
  17. String creditCardUserGuidanceTooDark = "Too dark. Please turn on a light.",
  18. String creditCardUserGuidanceTooSmall = "Please move closer to the credit card.",
  19. String creditCardUserGuidanceBadPerspective = "Please hold your device straight over the credit card.",
  20. String cameraPermissionEnableCameraTitle = "Camera permission denied!",
  21. String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
  22. String cameraPermissionEnableCameraButton = "Grant permission",
  23. String cameraPermissionCloseButton = "Close",
  24. String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
  25. String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
})

Implementation

CreditCardScannerScreenTextLocalization({
  this.topBarTitle = "Credit Card Scanner",
  this.topBarCancelButton = "Cancel",
  this.topUserGuidance = "Scan the credit card",
  this.introScreenTitle = "How to scan a credit card",
  this.introScreenDoneButton = "Start Scanning",
  this.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.",
  this.completionOverlaySuccessMessage = "Scanned successfully",
  this.completionOverlayIncompleteDataMessage = "Incomplete scan",
  this.accessibilityDescriptionOpenIntroScreenButton =
      "Open introduction screen.",
  this.accessibilityDescriptionIntroScreenDoneButton = "Start scanning",
  this.accessibilityDescriptionCancelButton = "Cancel",
  this.accessibilityDescriptionFlashButton = "Toggle flash",
  this.accessibilityDescriptionZoomButton = "Toggle camera zoom",
  this.accessibilityDescriptionFlipCameraButton = "Flip camera",
  this.creditCardUserGuidanceNoCardFound = "Looking for credit card...",
  this.creditCardUserGuidanceScanningProgress = "Scanning the credit card...",
  this.creditCardUserGuidanceTooDark = "Too dark. Please turn on a light.",
  this.creditCardUserGuidanceTooSmall =
      "Please move closer to the credit card.",
  this.creditCardUserGuidanceBadPerspective =
      "Please hold your device straight over the credit card.",
  this.cameraPermissionEnableCameraTitle = "Camera permission denied!",
  this.cameraPermissionEnableCameraExplanation =
      "Please allow the usage of the camera to start the scanning process.",
  this.cameraPermissionEnableCameraButton = "Grant permission",
  this.cameraPermissionCloseButton = "Close",
  this.accessibilityDescriptionCameraPermissionEnableCameraButton =
      "Tap to grant camera permission",
  this.accessibilityDescriptionCameraPermissionCloseButton =
      "Close screen without granting permission",
});