TextEditingDeltaNonTextUpdate constructor
- required String oldText,
- required TextSelection selection,
- required TextRange composing,
Creates a delta representing no updates to the text value of the current editing state. This delta includes updates to the selection and/or composing regions.
A situation where this delta would be created is when dragging the selection handles. There are no changes to the text, but there are updates to the selection and potentially the composing region as well.
See also:
- TextInputConfiguration, to opt-in your DeltaTextInputClient to receive TextEditingDelta's you must set TextInputConfiguration.enableDeltaModel to true.
Implementation
const TextEditingDeltaNonTextUpdate({
required super.oldText,
required super.selection,
required super.composing,
});