beforeDraw method Null safety

  1. @override
void beforeDraw(
  1. Canvas canvas,
  2. Offset offset
)

Implementation

@override
void beforeDraw(Canvas canvas, Offset offset) {
  canvas.clipRect(offset & size);
}