handleMetricsChanged method

  1. @protected
  2. @visibleForTesting
void handleMetricsChanged()

Called when the system metrics change.

See dart:ui.PlatformDispatcher.onMetricsChanged.

Implementation

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