MoosylLocalization class abstract

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

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

import 'generated/moosyl_localization.dart';

return MaterialApp(
  localizationsDelegates: MoosylLocalization.localizationsDelegates,
  supportedLocales: MoosylLocalization.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 MoosylLocalization.supportedLocales property.

Implementers

Constructors

MoosylLocalization(String locale)

Properties

afterMakingThePaymentFillTheFollowingInformation String
No description provided for @afterMakingThePaymentFillTheFollowingInformation.
no setter
afterPayment String
No description provided for @afterPayment.
no setter
amanty String
No description provided for @amanty.
no setter
amountToPay String
No description provided for @amountToPay.
no setter
authenticationBPayFailed String
No description provided for @authenticationBPayFailed.
no setter
authorizationRequired String
No description provided for @authorizationRequired.
no setter
bankily String
No description provided for @bankily.
no setter
bankilyPhoneNumber String
No description provided for @bankilyPhoneNumber.
no setter
bCIpay String
No description provided for @bCIpay.
no setter
bimBank String
No description provided for @bimBank.
no setter
capture String
No description provided for @capture.
no setter
change String
No description provided for @change.
no setter
codeBPay String
No description provided for @codeBPay.
no setter
configurationNotFound String
No description provided for @configurationNotFound.
no setter
copiedThisText String
No description provided for @copiedThisText.
no setter
copyTheCodeBPayAndHeadToBankilyToPayTheAmount String
No description provided for @copyTheCodeBPayAndHeadToBankilyToPayTheAmount.
no setter
copyTheMerchantCodeAndHeadToSedadToPayTheAmount String
No description provided for @copyTheMerchantCodeAndHeadToSedadToPayTheAmount.
no setter
enterYourBankilyPhoneNumber String
No description provided for @enterYourBankilyPhoneNumber.
no setter
errorWhileCreatingPayment String
No description provided for @errorWhileCreatingPayment.
no setter
errorWhileCreatingPaymentRequest String
No description provided for @errorWhileCreatingPaymentRequest.
no setter
existingPaymentWasFound String
No description provided for @existingPaymentWasFound.
no setter
fileNotFound String
No description provided for @fileNotFound.
no setter
hashCode int
The hash code for this object.
no setterinherited
invalidAuthorization String
No description provided for @invalidAuthorization.
no setter
invalidAuthorizationOrganizationNotFound String
No description provided for @invalidAuthorizationOrganizationNotFound.
no setter
localeName String
final
masrivi String
No description provided for @masrivi.
no setter
merchantCode String
No description provided for @merchantCode.
no setter
nonExistentOperation String
No description provided for @nonExistentOperation.
no setter
organizationNotFound String
No description provided for @organizationNotFound.
no setter
paymentMethod String
No description provided for @paymentMethod.
no setter
paymentNotFound String
No description provided for @paymentNotFound.
no setter
paymentPassCode String
No description provided for @paymentPassCode.
no setter
paymentPassCodeFromBankily String
No description provided for @paymentPassCodeFromBankily.
no setter
paymentRequestNotFound String
No description provided for @paymentRequestNotFound.
no setter
processingError String
No description provided for @processingError.
no setter
retry String
No description provided for @retry.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sedad String
No description provided for @sedad.
no setter
sendForVerification String
No description provided for @sendForVerification.
no setter
sending String
No description provided for @sending.
no setter
unknownError String
No description provided for @unknownError.
no setter
upload String
No description provided for @upload.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payUsing(Object method) String
No description provided for @payUsing.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) MoosylLocalization?

Constants

delegate → const LocalizationsDelegate<MoosylLocalization>
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.