remove method

  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) {
  assert(_selectable == selectable);
  _selectable!.removeListener(_updateSelectionStatus);
  _selectable!.pushHandleLayers(null, null);
  _selectable = null;
}