onDragEnd method

  1. @mustCallSuper
void onDragEnd(
  1. DragEndEvent event
)

The drag event has ended.

This event will be delivered to the component(s) that captured the initial onDragStart, even if the point of touch moves outside of the boundaries of the component.

Implementation

@mustCallSuper
void onDragEnd(DragEndEvent event) {
  _isDragged = false;
}