OrganizationLocalizations class abstract

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

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

import 'l10n/organization_localizations.dart';

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

Implementers

Constructors

OrganizationLocalizations.new(String locale)

Properties

acknowledgmentLabelText String
No description provided for @acknowledgmentLabelText.
no setter
addressesSectionSubTitle String
No description provided for @addressesSectionSubTitle.
no setter
addrTypeBilling String
No description provided for @addrTypeBilling.
no setter
addrTypeBillingTooltip String
No description provided for @addrTypeBillingTooltip.
no setter
addrTypeBranch String
No description provided for @addrTypeBranch.
no setter
addrTypeMain String
No description provided for @addrTypeMain.
no setter
backButton String
No description provided for @backButton.
no setter
cancelButton String
No description provided for @cancelButton.
no setter
contactsSectionSubTitle String
No description provided for @contactsSectionSubTitle.
no setter
contactTypeEmail String
No description provided for @contactTypeEmail.
no setter
contactTypeFax String
No description provided for @contactTypeFax.
no setter
contactTypeSMSOnly String
No description provided for @contactTypeSMSOnly.
no setter
contactTypeTollFree String
No description provided for @contactTypeTollFree.
no setter
contactTypeVoiceAndSMS String
No description provided for @contactTypeVoiceAndSMS.
no setter
contactTypeVoiceOnly String
No description provided for @contactTypeVoiceOnly.
no setter
createButton String
No description provided for @createButton.
no setter
createTitle String
No description provided for @createTitle.
no setter
dismissButton String
No description provided for @dismissButton.
no setter
hashCode int
The hash code for this object.
no setterinherited
localeName String
final
memberActive String
No description provided for @memberActive.
no setter
memberEmailNew String
No description provided for @memberEmailNew.
no setter
memberEmailNewTooltip String
No description provided for @memberEmailNewTooltip.
no setter
memberEmailResend String
No description provided for @memberEmailResend.
no setter
memberEmailResendTooltip String
No description provided for @memberEmailResendTooltip.
no setter
memberEmailSent String
No description provided for @memberEmailSent.
no setter
memberEmailSentTooltip String
No description provided for @memberEmailSentTooltip.
no setter
memberInactive String
No description provided for @memberInactive.
no setter
memberOwner String
No description provided for @memberOwner.
no setter
nameInputLabelName String
No description provided for @nameInputLabelName.
no setter
namesSectionTitle String
No description provided for @namesSectionTitle.
no setter
nextButton String
No description provided for @nextButton.
no setter
notMemberOfOrganizationMessage String
No description provided for @notMemberOfOrganizationMessage.
no setter
orgTypeText String
No description provided for @orgTypeText.
no setter
refInputLabelName String
No description provided for @refInputLabelName.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectOrganizationLabel String
No description provided for @selectOrganizationLabel.
no setter
selectTitle String
No description provided for @selectTitle.
no setter
setupTitle String
No description provided for @setupTitle.
no setter
unverifiedTitle String
No description provided for @unverifiedTitle.
no setter
updateAddressesTab String
No description provided for @updateAddressesTab.
no setter
updateButton String
No description provided for @updateButton.
no setter
updateContactsTab String
No description provided for @updateContactsTab.
no setter
updateMembersTab String
No description provided for @updateMembersTab.
no setter
updateTitle String
No description provided for @updateTitle.
no setter

Methods

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

Operators

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

Static Methods

of(BuildContext context) OrganizationLocalizations

Constants

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