buildTransitions method
Builds the transition animation.
Implementation
Widget buildTransitions(
BuildContext context,
Curve curve,
Alignment? alignment,
Animation<double> animation,
Animation<double> secondaryAnimation,
Widget child,
) =>
Align(
child: SizeTransition(
sizeFactor: CurvedAnimation(
parent: animation,
curve: curve,
),
child: child,
),
);