pump method

void pump()

One build + layout + paint pass over whatever is dirty.

Implementation

void pump() {
  var previousOnError = FlutterError.onError;
  FlutterError.onError = flutterErrors.add;
  try {
    _buildOwner.buildScope(_element);
    _buildOwner.finalizeTree();
    _pipelineOwner.flushLayout();
    _pipelineOwner.flushCompositingBits();
    _pipelineOwner.flushPaint();
  } finally {
    FlutterError.onError = previousOnError;
  }
}