GestureDragEndCallback typedef Null safety

void GestureDragEndCallback(
  1. DragEndDetails details

Signature for when a pointer that was previously in contact with the screen and moving is no longer in contact with the screen.

The velocity at which the pointer was moving when it stopped contacting the screen is available in the details.

Used by DragGestureRecognizer.onEnd.


typedef GestureDragEndCallback = void Function(DragEndDetails details);