setSystemLanguages static method

void setSystemLanguages(
  1. List<String> languages
)

The host's preferred languages, most preferred first, like navigator.languages: what text without a language of its own shapes with, and what fallback requests list after a text's own language. Stops following the platform's (see followPlatformLocales).

Implementation

static void setSystemLanguages(List<String> languages) {
  _stopFollowing?.call();
  _stopFollowing = null;
  setSystemTextLanguages(languages);
}