remove method Null safety

  1. @override
void remove(
  1. Selectable selectable
)
override

Removes the selectable from the registrar.

A Selectable must unregister itself if it is removed from the rendering tree.

Implementation

@override
void remove(Selectable selectable) {
  if (_additions.remove(selectable)) {
    return;
  }
  _removeSelectable(selectable);
  _scheduleSelectableUpdate();
}