voxaScaleIn method
Implementation
Widget voxaScaleIn({
Key? key,
double? begin,
Duration? duration,
Duration? delay,
Curve? curve,
}) {
if (this is Animate) {
return (this as Animate).scale(
begin: begin != null ? Offset(begin, begin) : null,
duration: duration,
delay: delay,
curve: curve,
);
}
return animate(key: key, delay: delay).scale(
begin: Offset(begin ?? 0.9, begin ?? 0.9),
duration: duration ?? 300.ms,
curve: curve ?? Curves.easeOutBack,
);
}