Locales class
Properties
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- lang → String
-
no setter
- selectedLocale ↔ Locale
-
getter/setter pair
- selectedLocaleRtl → bool
-
no setter
-
supportedLocales
↔ List<
Locale> -
getter/setter pair
Static Methods
-
change(
BuildContext context, String lang) → dynamic -
currentLocale(
dynamic context) → Locale? -
init(
List< String> localeNames) → Future -
isDirectionRTL(
BuildContext context) → bool -
of(
BuildContext context) → Locales? -
string(
BuildContext context, String key, {List< String> ? params, List<String> ? localeParams}) → String
Constants
-
delegate
→ const LocalizationsDelegate<
Locales> -
delegates
→ const List<
LocalizationsDelegate< Object> >