TextEditingDeltaInsertion constructor
- required String oldText,
- required String textInserted,
- required int insertionOffset,
- required TextSelection selection,
- required TextRange composing,
Creates an insertion delta for a given change to the editing state.
See also:
- TextInputConfiguration, to opt-in your DeltaTextInputClient to receive TextEditingDelta's you must set TextInputConfiguration.enableDeltaModel to true.
Implementation
const TextEditingDeltaInsertion({
required super.oldText,
required this.textInserted,
required this.insertionOffset,
required super.selection,
required super.composing,
});