ShimmerContainer constructor
const
ShimmerContainer({
- Key? key,
- Widget? child,
- Color color = Colors.black,
- Duration duration = const Duration(seconds: 1),
- BoxDecoration? decoration,
- Color movingColor = Colors.white,
- double? height,
- double? width,
- bool oneTimeOnly = false,
- BoxConstraints? constraints,
- EdgeInsets? padding,
- EdgeInsets? margin,
- bool isEnabled = true,
- 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,
});