changeLanguage function

void changeLanguage(
  1. Locale locale
)

更改语言

Implementation

void changeLanguage(Locale locale) {
  GlobalService.to.changeLocale(locale);
}