NmAccountL10n class abstract

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

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

import 'generated/account_localizations.dart';

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

Constructors

NmAccountL10n(String locale)

Properties

accessDisabled → String
No description provided for @accessDisabled.
no setter
account → String
No description provided for @account.
no setter
accountDelete → String
No description provided for @accountDelete.
no setter
accountDeleteConfirm → String
No description provided for @accountDeleteConfirm.
no setter
accountDeleted → String
No description provided for @accountDeleted.
no setter
accountDeleteFailed → String
No description provided for @accountDeleteFailed.
no setter
accountDeleteSignInAgain → String
No description provided for @accountDeleteSignInAgain.
no setter
accountDocs → String
No description provided for @accountDocs.
no setter
accountName → String
No description provided for @accountName.
no setter
accountRequiredKept → String
No description provided for @accountRequiredKept.
no setter
accountRequiredTitle → String
No description provided for @accountRequiredTitle.
no setter
accountTest → String
No description provided for @accountTest.
no setter
accountTestFailed → String
No description provided for @accountTestFailed.
no setter
accountTestOk → String
No description provided for @accountTestOk.
no setter
accountTitle → String
No description provided for @accountTitle.
no setter
actionNotNow → String
No description provided for @actionNotNow.
no setter
apiKeyActive → String
No description provided for @apiKeyActive.
no setter
apiKeyCreate → String
No description provided for @apiKeyCreate.
no setter
apiKeyCreated → String
No description provided for @apiKeyCreated.
no setter
apiKeyLastUsed → String
No description provided for @apiKeyLastUsed.
no setter
apiKeyName → String
No description provided for @apiKeyName.
no setter
apiKeyRevoke → String
No description provided for @apiKeyRevoke.
no setter
apiKeyRevoked → String
No description provided for @apiKeyRevoked.
no setter
apiKeyScope → String
No description provided for @apiKeyScope.
no setter
apiKeysEmpty → String
No description provided for @apiKeysEmpty.
no setter
authBackToSignIn → String
No description provided for @authBackToSignIn.
no setter
authCheckEmailTitle → String
No description provided for @authCheckEmailTitle.
no setter
authContinue → String
No description provided for @authContinue.
no setter
authCreateAccount → String
No description provided for @authCreateAccount.
no setter
authEmail → String
No description provided for @authEmail.
no setter
authEmailInvalid → String
No description provided for @authEmailInvalid.
no setter
authEnterDemo → String
No description provided for @authEnterDemo.
no setter
authForgotPassword → String
No description provided for @authForgotPassword.
no setter
authHaveAccount → String
No description provided for @authHaveAccount.
no setter
authName → String
No description provided for @authName.
no setter
authNewPassword → String
No description provided for @authNewPassword.
no setter
authNoAccount → String
No description provided for @authNoAccount.
no setter
authNotSignedIn → String
No description provided for @authNotSignedIn.
no setter
authPassword → String
No description provided for @authPassword.
no setter
authSetPassword → String
No description provided for @authSetPassword.
no setter
authSignedOut → String
No description provided for @authSignedOut.
no setter
authSignIn → String
No description provided for @authSignIn.
no setter
authSignInAgain → String
No description provided for @authSignInAgain.
no setter
authSignOut → String
No description provided for @authSignOut.
no setter
demoNotice → String
No description provided for @demoNotice.
no setter
errorGeneric → String
No description provided for @errorGeneric.
no setter
errorNetworkText → String
No description provided for @errorNetworkText.
no setter
errorNetworkTitle → String
No description provided for @errorNetworkTitle.
no setter
errorRetry → String
No description provided for @errorRetry.
no setter
freePlan → String
No description provided for @freePlan.
no setter
hashCode → int
The hash code for this object.
no setterinherited
localeName → String
final
offlineSyncNow → String
No description provided for @offlineSyncNow.
no setter
openInBrowserSubtitle → String
NmOpenInBrowserRow: the one-time link keeps the person signed in.
no setter
openInBrowserTitle → String
NmOpenInBrowserRow inside a Telegram / Max Mini App.
no setter
profileAnonymous → String
No description provided for @profileAnonymous.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scopeFull → String
No description provided for @scopeFull.
no setter
scopeReadOnly → String
No description provided for @scopeReadOnly.
no setter
secretShownOnce → String
No description provided for @secretShownOnce.
no setter
secretStored → String
No description provided for @secretStored.
no setter
toolMutating → String
No description provided for @toolMutating.
no setter
updateAction → String
No description provided for @updateAction.
no setter
updateAvailable → String
No description provided for @updateAvailable.
no setter
updateLater → String
No description provided for @updateLater.
no setter
updateRequiredTitle → String
No description provided for @updateRequiredTitle.
no setter
webhookAdd → String
No description provided for @webhookAdd.
no setter
webhookAttempts → String
Label before the number of delivery attempts ("attempts: 3").
no setter
webhookDeliveries → String
No description provided for @webhookDeliveries.
no setter
webhookLastDelivery → String
No description provided for @webhookLastDelivery.
no setter
webhookNextAttempt → String
Label before the time of the next retry ("next: 12:30").
no setter
webhookSecret → String
No description provided for @webhookSecret.
no setter
webhookSecretOnce → String
No description provided for @webhookSecretOnce.
no setter
webhooksTitle → String
No description provided for @webhooksTitle.
no setter
webhooksUnavailable → String
NmWebhooksSection: the server cannot sign / send webhooks (the app may pass its own text).
no setter
webhookTest → String
No description provided for @webhookTest.
no setter
webhookTestFailed → String
No description provided for @webhookTestFailed.
no setter
webhookTestOk → String
No description provided for @webhookTestOk.
no setter
webhookUrl → String
No description provided for @webhookUrl.
no setter

Methods

apiKeyRevokeQ(String name) → String
No description provided for @apiKeyRevokeQ.
authCheckEmailText(String email) → String
No description provided for @authCheckEmailText.
authPasswordTooShort(int min) → String
No description provided for @authPasswordTooShort.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offlinePending(int count) → String
No description provided for @offlinePending.
toString() → String
A string representation of this object.
inherited
updateRequiredText(String app) → String
No description provided for @updateRequiredText.

Operators

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

Static Methods

of(BuildContext context) → NmAccountL10n

Constants

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