handleClearSelection method

  1. @protected
SelectionResult handleClearSelection(
  1. ClearSelectionEvent event
)

Removes the selection of all Selectables this delegate manages.

Implementation

@protected
SelectionResult handleClearSelection(ClearSelectionEvent event) {
  for (final Selectable selectable in selectables) {
    dispatchSelectionEventToChild(selectable, event);
  }
  currentSelectionEndIndex = -1;
  currentSelectionStartIndex = -1;
  return SelectionResult.none;
}