TapReaction.scale constructor
const
TapReaction.scale({})
Animates its child using a scale animation.
More specifically it uses the Transform.scale() widget with the scale
comes from an animation controller.
Implementation
const TapReaction.scale({
Key? key,
required this.child,
this.duration = const Duration(milliseconds: 120),
this.curve = Curves.easeInCubic,
double endScale = 0.95,
}) : animationValue = endScale,
animationType = AnimationType.scale,
super(key: key);