PressEffect constructor

const PressEffect({
  1. Key? key,
  2. required Widget child,
  3. dynamic onTap(
    1. BuildContext context
    )?,
  4. double scale = 0.95,
})

Implementation

const PressEffect({
  super.key,
  required this.child,
  this.onTap,
  this.scale = 0.95,
});