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