ShimmerContainer constructor

const ShimmerContainer({
  1. Key? key,
  2. required Widget child,
  3. Color baseColor = Colors.grey,
  4. Color highlightColor = Colors.white,
  5. Duration duration = const Duration(seconds: 2),
})

Implementation

const ShimmerContainer({
  Key? key,
  required this.child,
  this.baseColor = Colors.grey,
  this.highlightColor = Colors.white,
  this.duration = const Duration(seconds: 2),
}) : super(key: key);