SwipeDetails constructor

const SwipeDetails({
  1. String direction = '',
  2. Velocity velocity = Velocity.zero,
})

Creates the details for a GestureSwipeCallback.

Implementation

const SwipeDetails({
  this.direction = '',
  this.velocity = Velocity.zero,
});