socialPost static method

Widget socialPost({
  1. bool showImage = true,
  2. double imageHeight = 300,
  3. int actionCount = 3,
  4. bool showComments = false,
  5. int commentCount = 2,
  6. SkeletonConfig? config,
})

Create a social media post skeleton

Implementation

static Widget socialPost({
  bool showImage = true,
  double imageHeight = 300,
  int actionCount = 3,
  bool showComments = false,
  int commentCount = 2,
  SkeletonConfig? config,
}) {
  return SkeletonSocialPost(
    showImage: showImage,
    imageHeight: imageHeight,
    actionCount: actionCount,
    showComments: showComments,
    commentCount: commentCount,
    config: config,
  );
}