FadeShimmer constructor

const FadeShimmer({
  1. Key? key,
  2. int millisecondsDelay = 0,
  3. double radius = 0,
  4. FadeTheme? fadeTheme,
  5. Color? highlightColor,
  6. Color? baseColor,
  7. required double width,
  8. required double height,
})

Implementation

const FadeShimmer(
    {Key? key,
    this.millisecondsDelay = 0,
    this.radius = 0,
    this.fadeTheme,
    this.highlightColor,
    this.baseColor,
    required this.width,
    required this.height})
    : assert(
          (highlightColor != null && baseColor != null) || fadeTheme != null),
      super(key: key);