getTick method
Implementation
Line getTick(double x, {double? size}) {
size ??= tickSize;
var tick = Line(start: DOWN * size, end: UP * size)
..rotate(getAngle())
..moveToPoint(numberToPoint(x))
..setColor(color: getColor())
..setFill(color: getFillColor())
..setStroke(color: getStrokeColor(), width: getStrokeWidth());
return tick;
}