Shimmer constructor

const Shimmer({
  1. Key? key,
  2. Widget? child,
  3. LinearGradient? gradient,
  4. Duration duration = const Duration(milliseconds: 1000),
})

Implementation

const Shimmer({
  super.key,
  this.child,
  this.gradient,
  this.duration = const Duration(milliseconds: 1000),
});