SBounceable constructor

const SBounceable({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onTap,
  4. VoidCallback? onDoubleTap,
  5. VoidCallback? onLongPress,
  6. double? scaleFactor,
  7. Duration? duration,
  8. bool isBounceEnabled = true,
  9. Curve curve = Curves.easeInOut,
  10. bool enableHapticFeedback = false,
})

Implementation

const SBounceable({
  super.key,
  required this.child,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.scaleFactor,
  this.duration,
  this.isBounceEnabled = true,
  this.curve = Curves.easeInOut,
  this.enableHapticFeedback = false,
});