ModulaSkeleton constructor

const ModulaSkeleton({
  1. required double width,
  2. required double height,
  3. Key? key,
  4. SkeletonType type = SkeletonType.box,
  5. BorderRadius? borderRadius,
  6. Duration shimmerDuration = const Duration(milliseconds: 1500),
  7. Color baseColor = const Color(0xFFE0E0E0),
  8. 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),
});