SkeletonConfig constructor

const SkeletonConfig({
  1. bool shimmer = true,
  2. Color? baseColor,
  3. Color? highlightColor,
  4. Duration shimmerDuration = const Duration(milliseconds: 1500),
  5. double borderRadius = 4.0,
  6. bool enableCache = true,
  7. bool debugMode = false,
  8. bool gracefulFallback = true,
})

Creates a skeleton configuration.

Implementation

const SkeletonConfig({
  this.shimmer = true,
  this.baseColor,
  this.highlightColor,
  this.shimmerDuration = const Duration(milliseconds: 1500),
  this.borderRadius = 4.0,
  this.enableCache = true,
  this.debugMode = false,
  this.gracefulFallback = true,
});