TextEditingDeltaDeletion constructor Null safety
- {required String oldText,
- required TextRange deletedRange,
- required TextSelection selection,
- required TextRange composing}
Creates a deletion delta for a given change to the editing state.
The oldText, selection, and composing arguments must not be null.
See also:
- TextInputConfiguration, to opt-in your DeltaTextInputClient to receive TextEditingDelta's you must set TextInputConfiguration.enableDeltaModel to true.
Implementation
const TextEditingDeltaDeletion({
required super.oldText,
required this.deletedRange,
required super.selection,
required super.composing,
});