voxaScaleIn method

Widget voxaScaleIn({
  1. Key? key,
  2. double? begin,
  3. Duration? duration,
  4. Duration? delay,
  5. Curve? curve,
})

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,
  );
}