handleLocaleChanged method Null safety

  1. @protected
  2. @mustCallSuper
void handleLocaleChanged()
mustCallSuper">@mustCallSuperprotected">@protected

Called when the system locale changes.

Calls dispatchLocalesChanged to notify the binding observers.

See dart:ui.PlatformDispatcher.onLocaleChanged.

Implementation

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