lineCount property

int get lineCount

Returns the total number of wrapped lines.

Implementation

int get lineCount => multiline ? _getWrappedLines().length : 1;