SwipeButton constructor
const
SwipeButton({
- Key? key,
- required VoidCallback onSwipeLeft,
- required VoidCallback onSwipeRight,
- required IconData icon,
- double bsize = 70.0,
- double isize = 36.0,
- Color baseColor = Colors.teal,
- SwipeButtonAnimationType animationType = SwipeButtonAnimationType.pulseOnly,
Implementation
const SwipeButton({
super.key,
required this.onSwipeLeft,
required this.onSwipeRight,
required this.icon,
this.bsize = 70.0,
this.isize = 36.0,
this.baseColor = Colors.teal,
this.animationType = SwipeButtonAnimationType.pulseOnly,
});