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