SBounceable constructor
const
SBounceable({
- Key? key,
- required Widget child,
- VoidCallback? onTap,
- VoidCallback? onDoubleTap,
- VoidCallback? onLongPress,
- double? scaleFactor,
- Duration? duration,
- bool isBounceEnabled = true,
- Curve curve = Curves.easeInOut,
- 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,
});