SwipeButton constructor

const SwipeButton({
  1. Key? key,
  2. required VoidCallback onSwipeLeft,
  3. required VoidCallback onSwipeRight,
  4. required IconData icon,
  5. double bsize = 70.0,
  6. double isize = 36.0,
  7. Color baseColor = Colors.teal,
  8. 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,
});