bool dragEnd(double fractionalVelocity)

The drag gesture has ended with a horizontal motion of fractionalVelocity as a fraction of screen width per second.

Returns true if the gesture will complete (i.e. a back gesture will result in a pop).

Source

bool dragEnd(double fractionalVelocity);