paintElement method

void paintElement(
  1. Element element
)
inherited

Paints the render object belonging to element into the output buffer.

Implementation

void paintElement(Element element) {
  final context = PaintingContext(outputBuffer);
  element.renderObject?.paint(context, Offset.zero);
  outputBuffer.flush();
}