DebugPaintCallback typedef

DebugPaintCallback = void Function(PaintingContext context, Offset offset, RenderView renderView)

A callback for painting a debug overlay on top of the provided RenderView.

Used by RenderView.debugAddPaintCallback and RenderView.debugRemovePaintCallback.

Implementation

typedef DebugPaintCallback = void Function(
  PaintingContext context,
  Offset offset,
  RenderView renderView,
);