TextEditingDeltaDeletion constructor Null safety

const TextEditingDeltaDeletion(
  1. {required String oldText,
  2. required TextRange deletedRange,
  3. required TextSelection selection,
  4. 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:

Implementation

const TextEditingDeltaDeletion({
  required super.oldText,
  required this.deletedRange,
  required super.selection,
  required super.composing,
});