SimpleGestureDetector constructor
const
SimpleGestureDetector({
- Key? key,
- required Widget child,
- SimpleSwipeConfig swipeConfig = const SimpleSwipeConfig(),
- HitTestBehavior? behavior,
- VoidCallback? onSwipeUp,
- VoidCallback? onSwipeDown,
- VoidCallback? onSwipeLeft,
- VoidCallback? onSwipeRight,
Implementation
const SimpleGestureDetector({
Key? key,
required this.child,
this.swipeConfig = const SimpleSwipeConfig(),
this.behavior,
this.onSwipeUp,
this.onSwipeDown,
this.onSwipeLeft,
this.onSwipeRight,
}) : super(key: key);