textEditingValue property
Implementation
@override
TextEditingValue get textEditingValue {
return widget.controller.plainTextEditingValue;
}
Implementation
@override
set textEditingValue(TextEditingValue value) {
if (value.text == textEditingValue.text) {
widget.controller
.updateSelection(value.selection, source: ChangeSource.local);
} else {
_setEditingValue(value);
}
}