onDragEnd method

  1. @override
void onDragEnd()
override

Called when a drag operation ends on this annotation.

Override this method to perform cleanup after dragging completes. This is called whether the drag ended normally or was cancelled.

Example

@override
void onDragEnd() {
  _containedNodeIds = null;
}

Implementation

@override
void onDragEnd() {
  // Clear the cached contained nodes
  _containedNodeIds = null;
}