Whether to paint the cursor.
int get maxLines => _maxLines;
set maxLines(int value) { if (_maxLines == value) return; _maxLines = value; markNeedsLayout(); }