drawVerticalLine function

void drawVerticalLine(
  1. Path path,
  2. double x,
  3. double y,
  4. double width,
  5. double height,
)

Draw the Vertical line shape marker

Implementation

void drawVerticalLine(
    Path path, double x, double y, double width, double height) {
  path.moveTo(x, y + height / 2);
  path.lineTo(x, y - height / 2);
}