FluentLocalizations class

Constructors

FluentLocalizations.ofLocale(Locale locale)
factory

Properties

bundle ↔ FluentBundle
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
locale Locale
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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>