SocialMediaButtons constructor

const SocialMediaButtons({
  1. Key? key,
  2. bool showLikeButton = true,
  3. bool showCommentButton = true,
  4. bool showShareButton = true,
  5. bool showSaveButton = true,
  6. VoidCallback? onLikePressed,
  7. VoidCallback? onCommentPressed,
  8. VoidCallback? onSharePressed,
  9. VoidCallback? onSavePressed,
  10. required Color likeColor,
  11. required Color commentColor,
  12. required Color shareColor,
  13. required Color saveColor,
})

Implementation

const SocialMediaButtons({
  super.key,
  this.showLikeButton = true,
  this.showCommentButton = true,
  this.showShareButton = true,
  this.showSaveButton = true,
  this.onLikePressed,
  this.onCommentPressed,
  this.onSharePressed,
  this.onSavePressed,
  required this.likeColor,
  required this.commentColor,
  required this.shareColor,
  required this.saveColor,
});