AppLocale enum
Supported locales, see extension methods below.
Usage:
- LocaleSettings.setLocale(AppLocale.en) // set locale
- Locale locale = AppLocale.en.flutterLocale // get flutter locale from enum
- if (LocaleSettings.currentLocale == AppLocale.en) // locale check
- Inheritance
- Available extensions
Properties
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