paint method Null safety
- Canvas c,
- BPItemPainter p,
- double x,
- 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);
}
@override
void paint(Canvas c, BPItemPainter p, double x, double w) {
c.translate(x, 0);
painter(c, p);
c.translate(-x, 0);
}