KinPress constructor

const KinPress({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onTap,
  4. VoidCallback? onLongPress,
  5. bool enabled = true,
  6. double scale = KinMotion.pressScale,
})

Implementation

const KinPress({
  super.key,
  required this.child,
  this.onTap,
  this.onLongPress,
  this.enabled = true,
  this.scale = KinMotion.pressScale,
});