handleMetricsChanged method
Called when the system metrics change.
Implementation
@protected
@visibleForTesting
void handleMetricsChanged() {
bool forceFrame = false;
for (final RenderView view in renderViews) {
forceFrame = forceFrame || view.child != null;
view.configuration = createViewConfigurationFor(view);
}
if (forceFrame) {
scheduleForcedFrame();
}
}