value property
String
get
value
Returns the current value of the textarea.
Implementation
String get value => _lines.map((l) => l.join()).join('\n');
set
value
(String v)
Sets the value of the textarea.
Implementation
set value(String v) {
final limited = _applyCharLimit(v);
_lines = _parseLines(limited);
_row = _lines.length - 1;
_col = _lines.isNotEmpty ? _lines.last.length : 0;
}