SimpleGestureDetector constructor

const SimpleGestureDetector({
  1. Key? key,
  2. required Widget child,
  3. SimpleSwipeConfig swipeConfig = const SimpleSwipeConfig(),
  4. HitTestBehavior? behavior,
  5. VoidCallback? onSwipeUp,
  6. VoidCallback? onSwipeDown,
  7. VoidCallback? onSwipeLeft,
  8. VoidCallback? onSwipeRight,
})

Implementation

const SimpleGestureDetector({
  super.key,
  required this.child,
  this.swipeConfig = const SimpleSwipeConfig(),
  this.behavior,
  this.onSwipeUp,
  this.onSwipeDown,
  this.onSwipeLeft,
  this.onSwipeRight,
});