getCurrentLocale static method
Implementation
static Locale getCurrentLocale(BuildContext context) {
final locale = Localizations.localeOf(context);
return locale;
}
static Locale getCurrentLocale(BuildContext context) {
final locale = Localizations.localeOf(context);
return locale;
}