text property
String
get
text
Implementation
String get text => _list.isEmpty ? '' : "${_list.join('\n')}\n";
set
text
(String value)
Implementation
set text(String value) {
changing();
_list.clear();
if (value.isNotEmpty) {
var v = value.replaceAll("\r\n", "\n").replaceAll("\r", "\n");
if (v.endsWith("\n")) v = v.substring(0, v.length - 1);
_list.addAll(v.split("\n"));
}
changed();
}