Signature for painting into a PaintingContext.
The offset
argument is the offset from the origin of the coordinate system
of the PaintingContext.canvas to the coordinate system of the callee.
Used by many of the methods of PaintingContext.
Source
typedef void PaintingContextCallback(PaintingContext context, Offset offset);