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
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
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
authEmail → String
No description provided for @authEmail.
no setter
authEnterDemo → String
No description provided for @authEnterDemo.
no setter
authNotSignedIn → String
No description provided for @authNotSignedIn.
no setter
authPassword → String
No description provided for @authPassword.
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
freePlan → String
No description provided for @freePlan.
no setter
hashCode → int
The hash code for this object.
no setterinherited
localeName → String
final
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

Methods

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

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.