Localization class

Constructors

Localization()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 Properties

languageCountry String
no setter
locale Locale
no setter
supportedLocales List<Locale>
getter/setter pair

Static Methods

changeLocale(Locale locale, [BuildContext? context]) Future
load(Map<Locale, Map<String, dynamic>> languages) Future
t(String key, [Map<String, String>? params]) String
translate(String key, [Map<String, String>? params]) String