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.

The oldText, selection, and composing arguments must not be null.

See also:


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