NmBillingL10n class abstract

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

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

import 'generated/billing_localizations.dart';

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

Constructors

NmBillingL10n(String locale)

Properties

autopay → String
No description provided for @autopay.
no setter
cardCvv → String
No description provided for @cardCvv.
no setter
cardExpiry → String
No description provided for @cardExpiry.
no setter
cardInvalid → String
No description provided for @cardInvalid.
no setter
cardNumber → String
No description provided for @cardNumber.
no setter
chooseMethod → String
No description provided for @chooseMethod.
no setter
choosePlan → String
No description provided for @choosePlan.
no setter
colAmount → String
No description provided for @colAmount.
no setter
colCode → String
No description provided for @colCode.
no setter
colDate → String
No description provided for @colDate.
no setter
colDescription → String
No description provided for @colDescription.
no setter
colQuantity → String
No description provided for @colQuantity.
no setter
goToPayment → String
No description provided for @goToPayment.
no setter
hashCode → int
The hash code for this object.
no setterinherited
localeName → String
final
lowBalance → String
No description provided for @lowBalance.
no setter
methodCard → String
No description provided for @methodCard.
no setter
methodCrypto → String
No description provided for @methodCrypto.
no setter
methodMir → String
No description provided for @methodMir.
no setter
methodQr → String
No description provided for @methodQr.
no setter
methodSberPay → String
No description provided for @methodSberPay.
no setter
methodSbp → String
No description provided for @methodSbp.
no setter
methodTBankPay → String
No description provided for @methodTBankPay.
no setter
methodTelegramStars → String
No description provided for @methodTelegramStars.
no setter
methodYooMoney → String
No description provided for @methodYooMoney.
no setter
paymentMethod → String
No description provided for @paymentMethod.
no setter
paymentTitle → String
No description provided for @paymentTitle.
no setter
payNow → String
No description provided for @payNow.
no setter
promoApplied → String
No description provided for @promoApplied.
no setter
promoApply → String
No description provided for @promoApply.
no setter
promoEmpty → String
No description provided for @promoEmpty.
no setter
promoHint → String
No description provided for @promoHint.
no setter
promoInvalid → String
No description provided for @promoInvalid.
no setter
promoToggle → String
No description provided for @promoToggle.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscriptionTitle → String
No description provided for @subscriptionTitle.
no setter
successDone → String
No description provided for @successDone.
no setter
successMessage → String
No description provided for @successMessage.
no setter
successTitle → String
No description provided for @successTitle.
no setter
topUp → String
No description provided for @topUp.
no setter
total → String
No description provided for @total.
no setter

Methods

balanceValue(String price) → String
No description provided for @balanceValue.
discount(int percent) → String
No description provided for @discount.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payAmount(String price) → String
No description provided for @payAmount.
payFailed(String error) → String
No description provided for @payFailed.
periodMonths(int count) → String
No description provided for @periodMonths.
perMonth(String price) → String
No description provided for @perMonth.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) → NmBillingL10n

Constants

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