numLines property
int?
get
numLines
Gets the number of lines in the background.
Implementation
int? get numLines => _numLines;
set
numLines
(dynamic value)
Sets the number of lines in the background.
Implementation
set numLines(value) {
if (isInitialized) {
if (value > lines!.length)
lines!.addAll(generateLines(value - lines!.length));
else if (value < lines!.length)
lines!.removeRange(0, lines!.length - value as int);
}
_numLines = value;
}