Shimmer constructor

const Shimmer({
  1. Key? key,
  2. required Widget child,
  3. required Gradient gradient,
  4. ShimmerDirection direction = ShimmerDirection.ltr,
  5. Duration period = const Duration(milliseconds: 1500),
  6. int loop = 0,
  7. bool enabled = true,
})

Implementation

const Shimmer({
  super.key,
  required this.child,
  required this.gradient,
  this.direction = ShimmerDirection.ltr,
  this.period = const Duration(milliseconds: 1500),
  this.loop = 0,
  this.enabled = true,
});