getLanguageCode static method
Get the language code of the current locale.
Implementation
static String getLanguageCode({BuildContext? context}) {
return getCurrentLocale(context: context).languageCode;
}
Get the language code of the current locale.
static String getLanguageCode({BuildContext? context}) {
return getCurrentLocale(context: context).languageCode;
}