onDragEnd method

  1. @override
bool onDragEnd(
  1. DragEndEvent _
)
override

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

@override
bool onDragEnd(_) {
  super.onDragEnd(_);
  onDragStop();
  return false;
}