dispatchSelectionEvent method Null safety

SelectionResult dispatchSelectionEvent(
  1. SelectionEvent event
)

Handles the SelectionEvent sent to this object.

The subclasses need to update their selections or delegate the SelectionEvents to their subtrees.

The events are subclasses of SelectionEvent. Check SelectionEvent.type to determine what kinds of event are dispatched to this handler and handle them accordingly.

See also:

Implementation

SelectionResult dispatchSelectionEvent(SelectionEvent event);