paint method
paint API.
Implementation
@override
void paint(Context context, PwOffset offset) {
final BoxDecoration? deco = decoration;
if (deco != null) {
// Imported via pw_box callers; decoration paint is in pw_paint.
_paintDeco(context, offset, size, deco);
}
child?.paint(
context,
offset.translate(childOffset.dx, childOffset.dy),
);
onPaint?.call(context, offset);
}