getLocaleStream method
Gets the broadcast stream to keep track of every locale change.
Usage: LocaleSettings.getLocaleStream().listen((locale) { print('new locale: $locale'); });
Implementation
Stream<E> getLocaleStream() {
return GlobalLocaleState.instance.getStream().map((locale) {
return utils.parseAppLocale(locale);
});
}