clearSelection method

void clearSelection()

Clears the current selection.

Implementation

void clearSelection() {
  _selectionBase?.dispose();
  _selectionBase = null;
  _selectionExtent?.dispose();
  _selectionExtent = null;
  notifyListeners();
}