I18nOMatic class

Manages the automatic translation of strings in Flutter apps.

Constructors

I18nOMatic(Locale? locale)

Properties

hashCode int
The hash code for this object.
no setterinherited
locale Locale?
The current locale set on initialization
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tr(String strToTranslate, [Map<String, dynamic>? args]) String
See I18nOMaticExt.tr() for description.

Operators

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

Static Properties

instance I18nOMatic
The instance created on initialization.
getter/setter pair

Static Methods

of(BuildContext context) I18nOMatic?

Constants

delegate → const LocalizationsDelegate<I18nOMatic>
The localization delegate to use in Flutter WidgetsApps