clear method Null safety

void clear()

Set the selection to empty.

Implementation

void clear() {
  _candidates = <RenderObject>[];
  _index = 0;
  _computeCurrent();
}