Skeleton.sizedBox constructor

Skeleton.sizedBox({
  1. double? width,
  2. double? height,
})

Implementation

factory Skeleton.sizedBox({double? width, double? height}) {
  return Skeleton(
    child: ColoredBox(
      color: Colors.white,
      child: SizedBox(
        width: width,
        height: height,
      ),
    ),
  );
}