AppLocale class
A locale class used to manage the current locale state.
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
-
updateLocale(
BuildContext context, Locale locale) → dynamic -
Updates the current locale for the app.
Provide the
locale
you wish to use like Locale("es") The locale needs to also exist within your /lang directory
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited