ShimmerLoading constructor

ShimmerLoading({
  1. required double width,
  2. required double height,
  3. Widget? child,
  4. Color? baseColor,
  5. Color? secondColor,
  6. ShimmerDirection direction = ShimmerDirection.ltr,
  7. Duration duration = const Duration(milliseconds: 1500),
  8. Key? key,
  9. int loop = 0,
  10. bool running = true,
})

Implementation

ShimmerLoading(
    {required this.width,
    required this.height,
    this.child,
    this.baseColor,
    this.secondColor,
    this.direction = ShimmerDirection.ltr,
    this.duration = const Duration(milliseconds: 1500),
    this.key,
    this.loop = 0,
    this.running = true});