L10nDelegate class
The L10n package's locale delegate Referenced by frameworks (eg. mvc_applicaiton)
- Inheritance
-
- Object
- LocalizationsDelegate<
L10nLocale> - L10nDelegate
Constructors
- L10nDelegate()
-
factory
Properties
Methods
-
isSupported(
Locale locale) → bool -
Indicate to the Flutter framework this delegate can support the passed Locale.
override
-
load(
Locale locale) → Future< L10nLocale> -
Explicitly load the Locale provided by the Flutter framework.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldReload(
covariant L10nDelegate old) → bool -
Reload if the delegate has changed.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → L10nLocale? - Return an instance of the L10Locale class Really not needed. L10n. prefix can be used instead. Merely for conformity.