RefPaintCallback typedef

RefPaintCallback = void Function(PaintingRef ref)

Signature for the callback within a RefPaint widget that paints a UI element, using a Canvas retrieved via PaintingRef.stageCanvas.

Implementation

typedef RefPaintCallback = void Function(PaintingRef ref);