performPaint method
Hook for subclasses to implement actual painting.
Implementation
@override
void performPaint(Buffer buffer, Offset offset) {
if (size.width <= 0 || size.height <= 0) return;
for (final child in childElements) {
child.paint(buffer, offset + child.relativeOffset);
}
}