LokotroPayLocalizations class abstract

Callers can lookup localized strings with an instance of LokotroPayLocalizations returned by LokotroPayLocalizations.of(context).

Applications need to include LokotroPayLocalizations.delegate() in their app's localizationDelegates list, and the locales they support in the app's supportedLocales list. For example:

import 'l10n/app_localizations.dart';

return MaterialApp(
  localizationsDelegates: LokotroPayLocalizations.localizationsDelegates,
  supportedLocales: LokotroPayLocalizations.supportedLocales,
  home: MyApplicationHome(),
);

Update pubspec.yaml

Please make sure to update your pubspec.yaml to include the following packages:

dependencies:
  # Internationalization support.
  flutter_localizations:
    sdk: flutter
  intl: any # Use the pinned version from flutter_localizations

  # Rest of dependencies

iOS Applications

iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.

First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.

Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.

Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the LokotroPayLocalizations.supportedLocales property.

Implementers

Constructors

LokotroPayLocalizations(String locale)

Properties

accountLabel String
Account label label
no setter
accountNumber String
Account number label
no setter
almostDone String
Almost done message
no setter
amount String
Amount field label
no setter
appName String
The name of the payment plugin
no setter
back String
Back button text
no setter
bankAccountSummary String
Bank account summary title
no setter
bankTransferPayment String
Bank transfer payment screen title
no setter
bankTransferProofInstructions String
Instructions for bank transfer proof upload
no setter
cancel String
Cancel button text
no setter
cancelled String
Cancelled status
no setter
cancelPayment String
Cancel payment button text
no setter
cardHolderName String
Cardholder name field label
no setter
cardInformation String
Card information section title
no setter
cardNumber String
Card number field label
no setter
cardPayment String
Card payment screen title
no setter
checkPhoneForConfirmation String
Mobile money instruction message
no setter
choosePaymentMethodSubtitle String
Payment method selection screen subtitle
no setter
close String
Close button text
no setter
confirmBankTransfer String
Confirm bank transfer button text
no setter
confirmPayment String
Confirm payment button text
no setter
continueButton String
Continue button text
no setter
currency String
Currency field label
no setter
cvv String
Card CVV field label
no setter
cvvMustBe3Or4Digits String
CVV validation message
no setter
date String
Date label
no setter
description String
Description field label
no setter
downloadReceipt String
Download receipt button text
no setter
emailAddress String
Email address field label
no setter
enterOtpCode String
OTP instruction message
no setter
enterYourPaymentDetails String
Payment details instruction
no setter
expiryDate String
Card expiry date field label
no setter
failed String
Failed status
no setter
fee String
Fee label
no setter
firstName String
First name field label
no setter
flashInformation String
Flash information section title
no setter
flashNumber String
Flash number field label
no setter
flashNumberMustBe10Digits String
Flash number validation message
no setter
flashPayment String
Flash payment screen title
no setter
flashPin String
Flash PIN field label
no setter
flashPinMustBe4Digits String
Flash PIN validation message
no setter
formCompletion String
Form completion progress label
no setter
hashCode int
The hash code for this object.
no setterinherited
initializingLokotroPayMessage String
Message shown during initialization
no setter
initializingLokotroPayTitle String
Title shown during initialization
no setter
initializingPayment String
Initializing payment message
no setter
invalidOtp String
Invalid OTP error message
no setter
invalidPhonePrefix String
Error message when phone number starts with wrong prefix
no setter
invalidRequest String
Error message for invalid request or data loading failure
no setter
lastName String
Last name field label
no setter
loading String
Loading status message
no setter
loadingOtpVerification String
Loading OTP verification message
no setter
loadingPayment String
Loading payment message
no setter
loadingPaymentForm String
Loading payment form title
no setter
loadingPaymentInformation String
Loading payment information title
no setter
loadingPaymentMethods String
Loading payment methods message
no setter
localeName String
final
merchant String
Merchant label
no setter
mobileMoneyInformation String
Mobile money information section title
no setter
mobileMoneyPayment String
Mobile money payment screen title
no setter
mobileMoneyPaymentTitle String
Mobile money payment screen title
no setter
mobileMoneyPhone String
Mobile money phone field label
no setter
more String
Suffix when there are more items not shown
no setter
next String
Next button text
no setter
noAccountsAvailable String
Message shown when no accounts are found for the selected bank
no setter
noBanksAvailableInCity String
Message shown when no banks are found for the selected city
no setter
otpExpired String
OTP expired error message
no setter
otpVerification String
OTP verification title
no setter
pasteCode String
Paste OTP code from clipboard button text
no setter
paymentConfirmation String
Payment confirmation screen title
no setter
paymentDetails String
Payment details section title
no setter
paymentFailed String
Payment failed title
no setter
paymentFormTitle String
Payment form app bar title
no setter
paymentInformation String
Payment information section title
no setter
paymentMethod String
Payment method label
no setter
paymentProcessing String
Payment processing message
no setter
paymentResponseReceived String
Generic payment response received message
no setter
paymentSuccessful String
Payment successful title
no setter
payWithCard String
Card payment method description
no setter
payWithFlash String
Flash payment method description
no setter
payWithMobileMoney String
Mobile money payment method description
no setter
payWithWallet String
E-wallet payment method description
no setter
pdf String
PDF button text
no setter
pending String
Pending status
no setter
personalInformation String
Personal information section title
no setter
phoneNumber String
Phone number field label
no setter
pleaseEnterCardHolderName String
Cardholder name required validation message
no setter
pleaseEnterCardNumber String
Card number required validation message
no setter
pleaseEnterCvv String
CVV required validation message
no setter
pleaseEnterExpiryDate String
Expiry date required validation message
no setter
pleaseEnterValidCardNumber String
Valid card number validation message
no setter
pleaseEnterValidEmail String
Valid email validation message
no setter
pleaseEnterValidExpiryDate String
Valid expiry date validation message
no setter
pleaseEnterValidPhone String
Valid phone validation message
no setter
pleaseEnterYourEmail String
Email required validation message
no setter
pleaseEnterYourPhone String
Error message when phone field is empty
no setter
pleaseWait String
Please wait message
no setter
preparingCardForm String
Preparing card form message
no setter
preparingFlashForm String
Preparing flash form message
no setter
preparingMobileMoneyForm String
Preparing mobile money form message
no setter
preparingOtpVerification String
Preparing OTP verification message
no setter
preparingPayment String
Preparing payment message
no setter
preparingPaymentForm String
Preparing payment form message
no setter
preparingPaymentOptions String
Preparing payment options message
no setter
preparingWalletForm String
Preparing wallet form message
no setter
print String
Print button text
no setter
printReceipt String
Print receipt button text
no setter
proceed String
Proceed button text
no setter
processing String
Processing status message
no setter
processingPayment String
Processing payment message
no setter
processingPaymentMessage String
Processing payment wait message
no setter
receipt String
Receipt label
no setter
reference String
Reference field label
no setter
required String
Required field validation message
no setter
resend String
Resend button text
no setter
resendOtp String
Resend OTP button text
no setter
retry String
Retry button text
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectBank String
Bank selection label
no setter
selectBankAccount String
Bank account selection label
no setter
selectCity String
City selection label
no setter
selectCountry String
Title for country selection dialog
no setter
selectPaymentMethod String
Payment method selection screen title
no setter
settings String
Settings button text
no setter
settingUpPayment String
Setting up payment experience message
no setter
share String
Share button text
no setter
status String
Status label
no setter
submit String
Submit button text
no setter
successful String
Successful status
no setter
tapToCancel String
Instruction to cancel auto-redirect
no setter
time String
Time label
no setter
total String
Total amount label
no setter
transactionId String
Transaction ID label
no setter
tryAgain String
Try again button text
no setter
validPrefixes String
Label for showing valid phone prefixes
no setter
verify String
Verify button text
no setter
verifyPaymentDetails String
Payment verification instruction
no setter
walletInformation String
Wallet information section title
no setter
walletNumber String
Wallet number field label
no setter
walletNumberMustBe16Digits String
Wallet number validation message
no setter
walletPayment String
Wallet payment screen title
no setter
walletPin String
Wallet PIN field label
no setter
walletPinMustBe4Digits String
Wallet PIN validation message
no setter

Methods

failedToInitializePayment(String error) String
Error message when payment initialization fails
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
otpSentTo(String contact) String
OTP sent confirmation
paymentFailedWithMessage(String message) String
Payment failed message with error details
paymentSuccessfulAmount(String currency, String amount) String
Payment success message with amount
phoneTooLong(int maxChars) String
Error message when phone number is too long
phoneTooShort(int minChars) String
Error message when phone number is too short
redirectingIn(int seconds) String
Countdown message before auto-redirect
resendOtpIn(int seconds) String
Resend OTP countdown
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) LokotroPayLocalizations

Constants

delegate → const LocalizationsDelegate<LokotroPayLocalizations>
localizationsDelegates → const List<LocalizationsDelegate>
A list of this localizations delegate along with the default localizations delegates.
supportedLocales → const List<Locale>
A list of this localizations delegate's supported locales.