BigSkeleton constructor

BigSkeleton({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. double? cornerRadius,
  5. Color baseColor = const Color(0x1F000000),
  6. Color highlightColor = const Color(0x29000000),
  7. Widget? child,
})

Implementation

BigSkeleton({
  Key? key,
  this.width,
  this.height,
  this.cornerRadius, // 默认圆角4,设置0的时候才没有圆角
  this.baseColor = const Color(0x1F000000),
  this.highlightColor = const Color(0x29000000),
  this.child,
}) : super(key: key);