TSkeleton.circle constructor
const
TSkeleton.circle({
- Key? key,
- double size = 40.0,
- Color? color,
- Color? highlightColor,
- Duration duration = const Duration(milliseconds: 1500),
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- 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;