LocalinoArgs class
Defines result of localization change.
Constructors
- LocalinoArgs({required String locale, String source = 'runtime', bool isActive = false, bool changed = false})
Properties
- changed → bool
-
True if locale isActive and is different then previous locale.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
True if requested locale is loaded and set.
Locale can be active even if not changed.
final
- locale → String
-
Requested locale.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Source of locale to load from. Asset path, runtime, network or any other.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited