FLSkeleton constructor

FLSkeleton({
  1. Key? key,
  2. BoxShape? shape,
  3. EdgeInsetsGeometry? padding,
  4. Color? color,
  5. Color? shimmerColor,
  6. double? width,
  7. double? height,
  8. EdgeInsetsGeometry? margin,
  9. BorderRadiusGeometry? borderRadius,
  10. Duration? duration,
  11. bool active = true,
  12. FLSkeletonAnimationType type = FLSkeletonAnimationType.shimmer,
  13. double? stretchWidth,
})

Implementation

FLSkeleton(
    {Key? key,
    this.shape,
    this.padding,
    this.color,
    this.shimmerColor,
    this.width,
    this.height,
    this.margin,
    this.borderRadius,
    this.duration,
    this.active = true,
    this.type = FLSkeletonAnimationType.shimmer,
    this.stretchWidth})
    : super(key: key);