L10nSettings class

Constructors

L10nSettings({String? path, List<L10nLocale> locales = const <L10nLocale>[L10nLocale('en', 'US', 'English')]})
const

Properties

delegate LocalizationsDelegate<void>
no setter
hashCode int
The hash code for this object.
no setterinherited
json String
no setter
locales List<L10nLocale>
final
path String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedLocales List<Locale>
no setter

Methods

indexOf(Locale? locale) int
isLoaded(Locale locale) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printJson([String? str]) → void
selectLocale(Locale? newLocale, [bool clear = true]) Future<Locale>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited