didChangeLocale method

void didChangeLocale(
  1. Locale locale
)

Called when the system tells the app that the user's locale has changed.

Implementation

void didChangeLocale(Locale locale) {
  /// Called when the system tells the app that the user's locale has
  /// changed. For example, if the user changes the system language
  /// settings.
  ///
  /// This method exposes notifications from [Window.onLocaleChanged].
}