totalLineCount property

int totalLineCount

Total number of lines in the text

Implementation

int get totalLineCount => text.split('\n').length;