slideInUp static method
slideInUp Animation
Implementation
static Transform slideInUp({
/// child
required Widget child,
/// animation
required Animation<double> animation,
}) {
final curvedValue = Curves.easeInOutBack.transform(animation.value) - 1.0;
return Transform(
transform: Matrix4.translationValues(0.0, curvedValue * -200, 0.0),
child: Opacity(
opacity: animation.value,
child: child,
),
);
}