animateWidgetGoldSweep method
- Gold Metallic Sweep (Loop)
Implementation
Widget animateWidgetGoldSweep({
int durationMs = 2500,
bool repeat = true,
bool animate = true,
}) {
if (!animate) return this;
return _baseAnimate(repeat: repeat).shimmer(
duration: durationMs.ms,
color: const Color(0xFFFFD700).withColorOpacity(0.3),
stops: const [0, 0.5, 1],
angle: 45,
);
}