end method

  1. @override
void end(
  1. DragEndDetails details
)
override

The pointer 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.

Implementation

@override
void end(DragEndDetails details) {
  finishDrag(_DragEndKind.dropped, details.velocity);
}