animateWidgetShimmerGlow method

Widget animateWidgetShimmerGlow({
  1. Color color = Colors.white24,
  2. int durationMs = 1800,
  3. bool repeat = true,
  4. bool animate = true,
})
  1. Shimmer Glow

Implementation

Widget animateWidgetShimmerGlow(
    {Color color = Colors.white24,
    int durationMs = 1800,
    bool repeat = true,
    bool animate = true}) {
  if (!animate) return this;
  return _baseAnimate(repeat: repeat).shimmer(
      duration: durationMs.ms, color: color, curve: Curves.easeInOutSine);
}