renderFrame method

void renderFrame()

Performs a single build-layout-paint cycle for the root element.

Implementation

void renderFrame() {
  if (_rootElement != null) {
    _build(_rootElement!);
    _layout(_rootElement!);
    outputBuffer.smartClear();
    paintElement(_rootElement!);
  }
  outputBuffer.flush();
}