SkeletonLoader constructor

const SkeletonLoader({
  1. Key? key,
  2. double? width,
  3. double height = 16,
  4. double borderRadius = 8,
  5. bool isCircle = false,
  6. Duration shimmerDuration = const Duration(milliseconds: 1500),
  7. Color? baseColor,
  8. Color? highlightColor,
  9. bool isLoading = true,
  10. EdgeInsetsGeometry? margin,
})

Implementation

const SkeletonLoader({
  super.key,
  this.width,
  this.height = 16,
  this.borderRadius = 8,
  this.isCircle = false,
  this.shimmerDuration = const Duration(milliseconds: 1500),
  this.baseColor,
  this.highlightColor,
  this.isLoading = true,
  this.margin,
});