AppLocalizations class

Constructors

AppLocalizations({Locale? locale})

Properties

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

Methods

loadJsonLanguage() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
translate(String key) String
translateWithArgs(String key, Map<String, dynamic> args) String

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getAllFilesAsString() Future<List<String>>
getSupportedLocales(List<String> supportedLocales) Future<List<String>>
of(BuildContext context) AppLocalizations?