WaffLocalizations class

Waff language pack

String langOk = WaffLocalizations.s('ok'); // Ok
String langHello = WaffLocalizations.s('hello', {'name': 'Jobs'}); // Hello Jobs!

Constructors

WaffLocalizations(Locale locale)

Properties

currentName String
latefinal
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

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

fallbackLocaleName String
getter/setter pair
keys Map<String, LocaleDefine>
getter/setter pair

Static Methods

of(BuildContext context) WaffLocalizations?
S(String s, [Map<String, dynamic>? params]) String

Constants

delegate → const WaffLocalizationsDelegate