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