shrink static method
Implementation
static shrink(Animation<double> animation,
Animation<double> secondaryAnimation, Widget child) {
return ScaleTransition(
scale: Tween<double>(end: 1.0, begin: 1.2).animate(
CurvedAnimation(
parent: animation,
curve: const Interval(0.50, 1.00, curve: Curves.linear),
),
),
child: child,
);
}