SwipeableWidget constructor

const SwipeableWidget({
  1. Key? key,
  2. required Widget child,
  3. double threshold = 50.0,
  4. VoidCallback? onSwipeLeft,
  5. VoidCallback? onSwipeRight,
  6. VoidCallback? onSwipeUp,
})

Implementation

const SwipeableWidget({
  super.key,
  required this.child,
  this.threshold = 50.0,
  this.onSwipeLeft,
  this.onSwipeRight,
  this.onSwipeUp,
});