updateProviderState method
Updates the provider state and therefore triggers a rebuild on all widgets listening to this provider.
This is a flutter feature. This method will be overridden by slang_flutter.
Implementation
@override
void updateProviderState(BaseAppLocale locale) {
for (final key in _GlobalKeyHandler.instance._globalKeys.values) {
(key.currentState as _TranslationProviderState?)?.updateState(locale);
}
}