FourSwipeDirection constructor

const FourSwipeDirection({
  1. Key? key,
  2. required Widget child,
  3. dynamic swipeUp()?,
  4. dynamic swipeDown()?,
  5. dynamic swipeLeft()?,
  6. dynamic swipeRight()?,
})

Implementation

const FourSwipeDirection({
  Key? key,
  required this.child,
  this.swipeUp,
  this.swipeDown,
  this.swipeLeft,
  this.swipeRight,
}) : super(key: key);