AnimatedScale constructor
AnimatedScale({})
Creates a widget that insets its child by a value that animates implicitly.
The scale
, curve
, and duration
arguments must not be null.
Implementation
AnimatedScale({
Key? key,
required this.scale,
this.child,
Curve curve = Curves.linear,
required Duration duration,
VoidCallback? onEnd,
}) : super(
key: key,
curve: curve,
duration: duration,
onEnd: onEnd,
);