FluentLocalizations class
Constructors
- FluentLocalizations.ofLocale(Locale locale)
-
factory
Properties
Methods
-
addMessages(
String source) → void -
assetExists(
String assetPath) → Future< bool> -
getMessage(
String key, [Map< String, dynamic> args = const {}]) → String? -
load(
) → Future< FluentLocalizations> -
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
- currentLocale ↔ Locale?
-
getter/setter pair
-
languages
→ Map<
Locale, FluentLocalizations> -
final
Static Methods
-
current(
) → FluentLocalizations? -
of(
BuildContext context) → FluentLocalizations? - helper for getting FluentLocalizations object
-
setLocale(
Locale locale) → Future< void>