getCurrentLanguageEnv static method
dynamic
getCurrentLanguageEnv(
- dynamic context
获取当前语言环境
Implementation
static getCurrentLanguageEnv(context) {
Locale v = Localizations.localeOf(context);
// 设置当前语言环境
_setCurrentLanguageEnv(v.countryCode);
}