dispose method

void dispose()

Detaches from the controller; call before disposing the reorder controller. A post-frame callback already scheduled is NOT cancelled, because the scheduler offers no way to cancel one; it is guarded instead by the liveness and drag-generation checks inside the callback itself.

Implementation

void dispose() {
  _reorderController.removeListener(_handleReorderChanged);
}