getCurrentLocale function
Returns the current device locale
Implementation
Locale? getCurrentLocale() {
return _localeFromString(Platform.localeName);
}
Returns the current device locale
Locale? getCurrentLocale() {
return _localeFromString(Platform.localeName);
}