performPaint method
RenderLayoutBox real paint things after basiclly paint box model. Override which to paint layout or intrinsic things. Used by RenderReplaced, RenderFlowLayout, RenderFlexLayout.
Implementation
@override
void performPaint(PaintingContext context, Offset offset) {
final dx = renderStyle.x.computedValue + offset.dx;
final dy = renderStyle.y.computedValue + offset.dy - _baseline;
visitChildren((child) {
context.paintChild(child, Offset(dx, dy));
});
}