animateWidgetGoldSweep method

Widget animateWidgetGoldSweep({
  1. int durationMs = 2500,
  2. bool repeat = true,
  3. bool animate = true,
})
  1. 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);
}