handleDragEnd method

  1. @override
void handleDragEnd(
  1. int pointerId,
  2. DragEndDetails details
)
override

Marks the end of a drag operation.

This event fires when the pointer stops touching the screen. It will fire even if the pointer is currently outside of the game widget.

Implementation

@override
void handleDragEnd(int pointerId, DragEndDetails details) {
  onDragEnd(pointerId, DragEndInfo.fromDetails(details));
}