KinPress constructor
const
KinPress({
- Key? key,
- required Widget child,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- bool enabled = true,
- double scale = KinMotion.pressScale,
Implementation
const KinPress({
super.key,
required this.child,
this.onTap,
this.onLongPress,
this.enabled = true,
this.scale = KinMotion.pressScale,
});