setAppLocale method
- String localeTag
Persist a new app locale in preferences.
Implementation
Future<void> setAppLocale(String localeTag) async {
await _preferences.put('appf_locale', localeTag);
notifyListeners();
}
Persist a new app locale in preferences.
Future<void> setAppLocale(String localeTag) async {
await _preferences.put('appf_locale', localeTag);
notifyListeners();
}