animateWidgetSpiralIn method

Widget animateWidgetSpiralIn({
  1. int delayMs = 0,
  2. int durationMs = 600,
  3. bool repeat = false,
  4. bool animate = true,
})
  1. Spiral Entry

Implementation

Widget animateWidgetSpiralIn(
    {int delayMs = 0,
    int durationMs = 600,
    bool repeat = false,
    bool animate = true}) {
  if (!animate) return this;
  return _baseAnimate(delayMs: delayMs, repeat: repeat)
      .fadeIn(duration: durationMs.ms)
      .rotate(
          begin: 0.5,
          end: 0,
          duration: durationMs.ms,
          curve: Curves.easeOutBack)
      .scale(begin: const Offset(0.5, 0.5), end: const Offset(1, 1));
}