handleMetricsChanged method Null safety

  1. @protected
void handleMetricsChanged()

Called when the system metrics change.

See dart:ui.PlatformDispatcher.onMetricsChanged.

Implementation

@protected
void handleMetricsChanged() {
  assert(renderView != null);
  renderView.configuration = createViewConfiguration();
  scheduleForcedFrame();
}