animateWidgetSpiralIn method
Widget
animateWidgetSpiralIn(
{ - int delayMs = 0,
- int durationMs = 600,
- bool repeat = false,
- bool animate = true,
})
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));
}