SuravShimmer constructor
const
SuravShimmer({
- Key? key,
- Widget? child,
- Color baseColor = const Color.fromARGB(255, 224, 224, 224),
- Color highlightColor = const Color.fromARGB(255, 246, 246, 246),
- ShimmerDirection direction = ShimmerDirection.ltr,
- required double width,
- required double height,
- bool enabled = true,
- int loop = 1,
- Duration period = const Duration(milliseconds: 1500),
- double radius = 0,
Implementation
const SuravShimmer({
super.key,
this.child,
this.baseColor = const Color.fromARGB(255, 224, 224, 224),
this.highlightColor = const Color.fromARGB(255, 246, 246, 246),
this.direction = ShimmerDirection.ltr,
required this.width,
required this.height,
this.enabled = true,
this.loop = 1,
this.period = const Duration(milliseconds: 1500),
this.radius = 0,
});