updateLocale static method

void updateLocale(
  1. Locale locale
)

Requests the system to update the system locale. Note that the system looks halted for a while during the Locale migration, so the caller need to take care of it.

@see #updateLocales(LocaleList)

Implementation

static void updateLocale(Locale locale) =>
    LocalePickerChannel.instance.updateLocale(locale);