UIProShimmer.circle constructor

const UIProShimmer.circle({
  1. Key? key,
  2. required double size,
  3. Color? baseColor,
  4. Color? highlightColor,
  5. Duration? duration,
  6. bool enabled = true,
  7. UIProShimmerDirection direction = UIProShimmerDirection.leftToRight,
})

Creates a circular shimmer placeholder.

Implementation

const UIProShimmer.circle({
  super.key,
  required double size,
  this.baseColor,
  this.highlightColor,
  this.duration,
  this.enabled = true,
  this.direction = UIProShimmerDirection.leftToRight,
})  : child = null,
      width = size,
      height = size,
      borderRadius = null,
      shape = UIProShimmerShape.circle;