AuiSkeleton.circle constructor

AuiSkeleton.circle({
  1. Key? key,
  2. double size = 40,
  3. Color? baseColor,
  4. Color? highlightColor,
})

Creates a circular skeleton suitable for avatar placeholders.

The size parameter controls both width and height, and the borderRadius is automatically set to a perfect circle.

Implementation

AuiSkeleton.circle({
  super.key,
  double size = 40,
  this.baseColor,
  this.highlightColor,
})  : width = size,
      height = size,
      borderRadius = BorderRadius.circular(size / 2);