paint method
This class mixin RenderProxyBoxMixin, which has its' own paint method, override it to layout box model paint.
Implementation
@override
void paint(PaintingContext context, Offset offset) {
// In lazy rendering, only paint intersection observer for triggering intersection change callback.
if (_isInLazyRendering) {
paintIntersectionObserver(context, offset, paintNothing);
} else if (shouldPaint) {
paintBoxModel(context, offset);
}
}