updateEditingValue method

  1. @override
void updateEditingValue(
  1. TextEditingValue value
)
override

The EmbedTextInputControl that is currently attached to this call this method to update the editing state, instead of calling TextInput.updateEditingValue. Because the EmbedTextInput will not receive the update if we call the TextInput.updateEditingValue to update editing state.

Implementation

@override
void updateEditingValue(TextEditingValue value) {
  _editingState = value;
  TextInput.updateEditingValue(value);
}