PrismSkeleton.circle constructor

const PrismSkeleton.circle({
  1. Key? key,
  2. required double diameter,
  3. Color? baseColor,
  4. Color? highlightColor,
  5. bool animate = true,
})

A skeleton circle, sized by diameter.

Implementation

const PrismSkeleton.circle({
  super.key,
  required double diameter,
  this.baseColor,
  this.highlightColor,
  this.animate = true,
}) : width = diameter,
     height = diameter,
     borderRadius = null,
     shape = PrismSkeletonShape.circle;