defaultLocale property
Locale
get
defaultLocale
Implementation
Locale get defaultLocale {
return defaultLocaleOrNull ?? Locale("en", "US");
}
set
defaultLocale
(Locale? value)
Implementation
set defaultLocale(Locale? value) {
if (value == null) return;
if (value.toString() == defaultLocaleOrNull.toString()) return;
defaultLocaleOrNull = value;
notifyListeners();
}