Creates a copy of this input value but with the given fields replaced with the new values.
Source
InputValue copyWith({ String text, TextSelection selection, TextRange composing }) { return new InputValue ( text: text ?? this.text, selection: selection ?? this.selection, composing: composing ?? this.composing ); }