Returns the line at y, or null if out of bounds.
y
Line? line(int y) => (y < 0 || y >= lines.length) ? null : lines[y];