circlePlaceholder static method
Builds a circular shimmer placeholder (for avatars).
Implementation
static Widget circlePlaceholder({
required BuildContext context,
double? size,
}) {
final theme = UIProTheme.of(context);
final effectiveSize = size ?? 40;
return Container(
width: effectiveSize,
height: effectiveSize,
decoration: BoxDecoration(
color: theme.shimmerBaseColor,
shape: BoxShape.circle,
),
);
}