scale method
Scales the widget.
Implementation
Widget scale({
Key? key,
Duration duration = const Duration(milliseconds: 500),
Curve curve = Curves.easeInOut,
double begin = 0.8,
double end = 1.0,
}) {
return _AnimatedWrapper(
key: key,
type: _AnimationType.scale,
duration: duration,
curve: curve,
scaleBegin: begin,
scaleEnd: end,
child: this,
);
}