ModulaSkeleton constructor
const
ModulaSkeleton({
- required double width,
- required double height,
- Key? key,
- SkeletonType type = SkeletonType.box,
- BorderRadius? borderRadius,
- Duration shimmerDuration = const Duration(milliseconds: 1500),
- Color baseColor = const Color(0xFFE0E0E0),
- Color highlightColor = const Color(0xFFF5F5F5),
Implementation
const ModulaSkeleton({
required this.width,
required this.height,
super.key,
this.type = SkeletonType.box,
this.borderRadius,
this.shimmerDuration = const Duration(milliseconds: 1500),
this.baseColor = const Color(0xFFE0E0E0),
this.highlightColor = const Color(0xFFF5F5F5),
});