TextEditingDeltaInsertion constructor

const TextEditingDeltaInsertion({
  1. required String oldText,
  2. required String textInserted,
  3. required int insertionOffset,
  4. required TextSelection selection,
  5. required TextRange composing,
})

Creates an insertion delta for a given change to the editing state.

See also:

Implementation

const TextEditingDeltaInsertion({
  required super.oldText,
  required this.textInserted,
  required this.insertionOffset,
  required super.selection,
  required super.composing,
});