paint abstract method

void paint(
  1. PaintingContext context,
  2. Offset offset,
  3. Size size,
  4. PaintingContextCallback painter,
)

Paint the child via painter, applying any effects that would have been painted in SnapshotPainter.paintSnapshot.

This method is called when snapshotting is disabled, or when SnapshotMode.permissive is used and a child platform view prevents snapshotting.

The offset and size are the location and dimensions of the render object.

Implementation

void paint(PaintingContext context, Offset offset, Size size, PaintingContextCallback painter);