lineCount property
int
get
lineCount
Implementation
int get lineCount => text.isEmpty ? 0 : text.trimRight().split('\n').length;
int get lineCount => text.isEmpty ? 0 : text.trimRight().split('\n').length;