SuravShimmer constructor

const SuravShimmer({
  1. Key? key,
  2. Widget? child,
  3. Color baseColor = const Color.fromARGB(255, 224, 224, 224),
  4. Color highlightColor = const Color.fromARGB(255, 246, 246, 246),
  5. ShimmerDirection direction = ShimmerDirection.ltr,
  6. required double width,
  7. required double height,
  8. bool enabled = true,
  9. int loop = 1,
  10. Duration period = const Duration(milliseconds: 1500),
  11. double radius = 0,
})

Implementation

const SuravShimmer({
  super.key,
  this.child,
  this.baseColor = const Color.fromARGB(255, 224, 224, 224),
  this.highlightColor = const Color.fromARGB(255, 246, 246, 246),
  this.direction = ShimmerDirection.ltr,
  required this.width,
  required this.height,
  this.enabled = true,
  this.loop = 1,
  this.period = const Duration(milliseconds: 1500),
  this.radius = 0,
});