paint method Null safety

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

Implementation

@override
void paint(Canvas c, BPItemPainter p, double x, double w) {
  c.translate(x, 0);
  painter(c, p);
  c.translate(-x, 0);
}