paintVerticalLine method Null safety

void paintVerticalLine(
  1. Canvas canvas,
  2. double x,
  3. double height,
  4. int c
)

Implementation

void paintVerticalLine(Canvas canvas, double x, double height, int c) {
  canvas.drawLine(Offset(x, 0), Offset(x, height), thinLine);
}