handleSelectAll method

  1. @protected
SelectionResult handleSelectAll(
  1. SelectAllSelectionEvent event
)

Selects all contents of all Selectables.

Implementation

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