clearSelection method
void
clearSelection()
Clears the current selection.
Implementation
void clearSelection() {
final before = _TextAreaControllerSnapshot.capture(_model);
_model.clearSelection();
if (!before.matches(_model)) {
notifyListeners();
}
}