TextEditingValue constructor
Creates information for editing a run of text.
The selection and composing range must be within the text.
The text, selection, and composing arguments must not be null but
each have default values.
Implementation
const TextEditingValue({
this.text = '',
this.selection = const TextSelection.collapsed(offset: -1),
this.composing = TextRange.empty
}) : assert(text != null),
assert(selection != null),
assert(composing != null);