Skeleton.circle constructor

Skeleton.circle({
  1. required double size,
})

Implementation

factory Skeleton.circle({
  required double size,
}) {
  return Skeleton(
    child: Container(
      height: size,
      width: size,
      decoration: BoxDecoration(
        color: Colors.white,
        shape: BoxShape.circle,
      ),
    ),
  );
}