handleLocaleChanged method

  1. @protected
  2. @mustCallSuper
  3. @visibleForTesting
void handleLocaleChanged()

Called when the system locale changes.

Calls dispatchLocalesChanged to notify the binding observers.

See dart:ui.PlatformDispatcher.onLocaleChanged.

Implementation

@protected
@mustCallSuper
@visibleForTesting
void handleLocaleChanged() {
  dispatchLocalesChanged(platformDispatcher.locales);
}