OrgAuthLocalizations class abstract

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

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

import 'l10n/org_auth_localizations.dart';

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

Implementers

Constructors

OrgAuthLocalizations.new(String locale)

Properties

confirmpasswordempty String
No description provided for @confirmpasswordempty.
no setter
continueLabel String
No description provided for @continueLabel.
no setter
dobLabel String
No description provided for @dobLabel.
no setter
emailempty String
No description provided for @emailempty.
no setter
emailinvalid String
No description provided for @emailinvalid.
no setter
emailLabel String
No description provided for @emailLabel.
no setter
emailtoolong String
No description provided for @emailtoolong.
no setter
hashCode int
The hash code for this object.
no setterinherited
haveNoAccount String
No description provided for @haveNoAccount.
no setter
localeName String
final
nameempty String
No description provided for @nameempty.
no setter
nameLabel String
No description provided for @nameLabel.
no setter
nametoolong String
No description provided for @nametoolong.
no setter
nrcLabel String
No description provided for @nrcLabel.
no setter
nrcnumberinvalid String
No description provided for @nrcnumberinvalid.
no setter
nrcRadio String
No description provided for @nrcRadio.
no setter
or String
No description provided for @or.
no setter
passportLabel String
No description provided for @passportLabel.
no setter
passportnumberinvalid String
No description provided for @passportnumberinvalid.
no setter
passportRadio String
No description provided for @passportRadio.
no setter
passwordempty String
No description provided for @passwordempty.
no setter
passwordinvalid String
No description provided for @passwordinvalid.
no setter
passwordLabel String
No description provided for @passwordLabel.
no setter
passwordmismatch String
No description provided for @passwordmismatch.
no setter
passwordtooshort String
No description provided for @passwordtooshort.
no setter
phoneempty String
No description provided for @phoneempty.
no setter
phoneinvalid String
No description provided for @phoneinvalid.
no setter
phoneinvalidshort String
No description provided for @phoneinvalidshort.
no setter
phoneNumberLabel String
No description provided for @phoneNumberLabel.
no setter
registerWithEmail String
No description provided for @registerWithEmail.
no setter
registerWithPhone String
No description provided for @registerWithPhone.
no setter
required String
No description provided for @required.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signInButton String
No description provided for @signInButton.
no setter
signInSubTitle String
No description provided for @signInSubTitle.
no setter
signInTitle String
No description provided for @signInTitle.
no setter
signInWithEmail String
No description provided for @signInWithEmail.
no setter
signInWithPhone String
No description provided for @signInWithPhone.
no setter
signUpButton String
No description provided for @signUpButton.
no setter
signUpTitle String
No description provided for @signUpTitle.
no setter

Methods

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) OrgAuthLocalizations?

Constants

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