generateLines method
Generates an amount of lines and initializes them.
Implementation
@protected
List<Line> generateLines(int numLines) => List<Line>.generate(numLines, (i) {
final Line line = Line();
initLine(line);
return line;
});