TSkeleton.circle constructor

const TSkeleton.circle({
  1. Key? key,
  2. double size = 40.0,
  3. Color? color,
  4. Color? highlightColor,
  5. Duration duration = const Duration(milliseconds: 1500),
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. bool loading = true,
})

Creates a circular skeleton placeholder (e.g. for avatars or circular icons).

Implementation

const TSkeleton.circle({
  super.key,
  double size = 40.0,
  this.color,
  this.highlightColor,
  this.duration = const Duration(milliseconds: 1500),
  this.padding,
  this.margin,
  this.loading = true,
})  : width = size,
      height = size,
      shape = BoxShape.circle,
      borderRadius = null,
      child = null;