handleMetricsChanged method Null safety

  1. @protected
  2. @visibleForTesting
void handleMetricsChanged()
protected">@protectedvisibleForTesting">@visibleForTesting

Called when the system metrics change.

See dart:ui.PlatformDispatcher.onMetricsChanged.

Implementation

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