fadeSlideIn method
Implementation
Widget fadeSlideIn({
int milliseconds = 1000,
double offset = 24,
}) => TweenAnimationBuilder<double>(
tween: Tween<double>(begin: 0, end: 1),
duration: Duration(milliseconds: milliseconds),
curve: Curves.easeOutCubic,
builder: (BuildContext context, double value, Widget? child) => Opacity(
opacity: value,
child: Transform.translate(offset: Offset(0, offset * (1 - value)), child: child),
),
child: this,
);