didChangeLocales method
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.
Implementation
@override
@mustCallSuper
void didChangeLocales(List<Locale>? locales) {
super.didChangeLocales(locales);
//
forEachState((state) {
state.didChangeLocales(locales);
}, reversed: true, remove: this);
}