handleLocaleChanged method Null safety

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

Called when the system locale changes.

Calls dispatchLocalesChanged to notify the binding observers.

See dart:ui.PlatformDispatcher.onLocaleChanged.

Implementation

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