TapScaleAnimated constructor

TapScaleAnimated({
  1. Widget? child,
  2. required Function onTap,
  3. double scale = 0.9,
  4. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  5. Duration duration = const Duration(milliseconds: 240),
  6. Curve curve = Curves.easeIn,
})

Implementation

TapScaleAnimated(
    {this.child,
    required this.onTap,
    this.scale = 0.9,
    this.behavior = HitTestBehavior.deferToChild,
    this.duration = const Duration(milliseconds: 240),
    this.curve = Curves.easeIn});