handleTextScaleFactorChanged method Null safety

  1. @override
void handleTextScaleFactorChanged()
override

Called when the platform text scale factor changes.

See dart:ui.PlatformDispatcher.onTextScaleFactorChanged.

Implementation

@override
void handleTextScaleFactorChanged() {
  super.handleTextScaleFactorChanged();
  for (final WidgetsBindingObserver observer in _observers) {
    observer.didChangeTextScaleFactor();
  }
}