SwipeableWidget constructor
const
SwipeableWidget({
- Key? key,
- required Widget child,
- double threshold = 50.0,
- VoidCallback? onSwipeLeft,
- VoidCallback? onSwipeRight,
- VoidCallback? onSwipeUp,
Implementation
const SwipeableWidget({
super.key,
required this.child,
this.threshold = 50.0,
this.onSwipeLeft,
this.onSwipeRight,
this.onSwipeUp,
});