scale static method
scale Animation
Implementation
static Transform scale({
/// child
required Widget child,
/// animation
required Animation<double> animation,
}) {
return Transform.scale(
scale: animation.value,
child: Opacity(
opacity: animation.value,
child: child,
),
);
}