lines property

List<String> get lines

Lines of the current text, split on newline characters.

Implementation

List<String> get lines => text.split('\n');