AppLocalizations class
Constructors
- AppLocalizations.new(Locale locale)
Properties
Methods
-
load(
) → Future< bool> -
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 Properties
-
supportedLocales
↔ List<
Locale> -
getter/setter pair
Static Methods
-
addSupportedLocales(
Locale locale) → void -
of(
BuildContext context) → AppLocalizations? -
translate(
String key) → String? -
translateList(
String key) → dynamic
Constants
- defaultLocale → const Locale
-
delegate
→ const LocalizationsDelegate<
AppLocalizations>