swipe property

Swipe get swipe

Method to get a Swipe record for the swipe gesture.

This method returns a Swipe record that contains the direction and speed of the swipe.

Implementation

Swipe get swipe => Swipe(swipeDirection, swipeSpeed, swipeMagnitude, swipeAngle);