paint method Null safety

void paint(
  1. Canvas c,
  2. BPItemPainter p,
  3. double x,
  4. double w
)

Implementation

void paint(Canvas c, BPItemPainter p, double x, double w) =>
    item.paint(c, p, x, w);