wordCount property
int
get
wordCount
Total word count.
Implementation
int get wordCount =>
_text.split(RegExp(r'\s+')).where((w) => w.isNotEmpty).length;
Total word count.
int get wordCount =>
_text.split(RegExp(r'\s+')).where((w) => w.isNotEmpty).length;