languageChangedHandler method
Implementation
void languageChangedHandler(String? localeId) {
if (localeId == null) {
return;
}
var locale = getLocaleFromTag(localeId);
if (languageChangeHandler != null) {
languageChangeHandler!(locale);
}
provider?.locale = locale;
}