Skeleton constructor

Skeleton({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. double? cornerRadius,
})

Implementation

Skeleton({
  Key? key,
  this.width,
  this.height,
  this.cornerRadius, // 默认圆角4,设置0的时候才没有圆角
}) : super(key: key);