VxShimmer constructor

const VxShimmer({
  1. Key? key,
  2. required Widget child,
  3. Gradient? gradient,
  4. Duration duration = const Duration(seconds: 1),
  5. int count = 10000,
  6. bool showAnimation = true,
  7. bool showGradient = false,
  8. Color primaryColor = Colors.grey,
  9. Color? secondaryColor,
})

Implementation

const VxShimmer({
  super.key,
  required this.child,
  this.gradient,
  this.duration = const Duration(seconds: 1),
  this.count = 10000,
  this.showAnimation = true,
  this.showGradient = false,
  this.primaryColor = Colors.grey,
  this.secondaryColor,
});