updateEditingValue method
Requests that this client update its editing state to the given value.
The new value
is treated as user input and thus may subject to input
formatting.
Implementation
@override
void updateEditingValue(TextEditingValue value) {
_log.fine('New platform TextEditingValue: $value');
_osCurrentTextEditingValue = value;
_onReceivedTextEditingValueFromPlatform(value);
if (_latestTextEditingValueSentToPlatform != currentTextEditingValue) {
_sendTextChangesToPlatform = false;
text = AttributedText(value.text);
selection = value.selection;
composingRegion = value.composing;
_sendTextChangesToPlatform = true;
}
}