ShimmerContainer constructor

const ShimmerContainer({
  1. Key? key,
  2. Widget? child,
  3. Color color = Colors.black,
  4. Duration duration = const Duration(seconds: 1),
  5. BoxDecoration? decoration,
  6. Color movingColor = Colors.white,
  7. double? height,
  8. double? width,
  9. bool oneTimeOnly = false,
  10. BoxConstraints? constraints,
  11. EdgeInsets? padding,
  12. EdgeInsets? margin,
  13. bool isEnabled = true,
  14. Alignment? alignment,
})

Implementation

const ShimmerContainer({
  super.key,
  this.child,
  this.color = Colors.black,
  this.duration = const Duration(seconds: 1),
  this.decoration,
  this.movingColor = Colors.white,
  this.height,
  this.width,
  this.oneTimeOnly = false,
  this.constraints,
  this.padding,
  this.margin,
  this.isEnabled = true,
  this.alignment,
});