Skeleton.roundedBox constructor

Skeleton.roundedBox({
  1. double? width,
  2. double? height,
  3. double? round,
})

Implementation

factory Skeleton.roundedBox({
  double? width,
  double? height,
  double? round,
}) {
  return Skeleton(
    child: Container(
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(round ?? 6),
      ),
      width: width,
      height: height,
    ),
  );
}