onDragEnd method

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

Override this to handle the end of a drag/pan gesture that is within the boundaries (determined by Component.containsPoint) of the component that this mixin is used on. Return true if you want this event to continue to be passed on to components underneath (lower priority) this component.

Implementation

@override
bool onDragEnd(_) {
  onDragCancel();
  return false;
}