TextEditingDelta constructor Null safety
- {required String oldText,
- required TextSelection selection,
- required TextRange composing}
Creates a delta for a given change to the editing state.
The oldText, selection, and composing arguments must not be null.
Implementation
const TextEditingDelta({
required this.oldText,
required this.selection,
required this.composing,
}) : assert(oldText != null),
assert(selection != null),
assert(composing != null);