animateWidgetAurora method
- Aurora Sweep (Loop)
Implementation
Widget animateWidgetAurora(
{int durationMs = 4000, bool repeat = true, bool animate = true}) {
if (!animate) return this;
return _baseAnimate(repeat: repeat, reverse: true)
.shimmer(
duration: durationMs.ms,
color: Colors.purpleAccent.withColorOpacity(0.1))
.shimmer(
duration: (durationMs * 0.75).toInt().ms,
color: Colors.blueAccent.withColorOpacity(0.1));
}