SocialMediaPost constructor

const SocialMediaPost({
  1. Key? key,
  2. Widget? profileImage,
  3. Widget? postImage,
  4. String accountName = '',
  5. String accountId = '',
  6. String uploadDuration = '',
  7. String likeCount = '',
  8. String commentCount = '',
  9. Widget? caption,
  10. Widget? hashTags,
  11. TextStyle? accountNameStyle,
  12. TextStyle? countStyle,
  13. TextStyle? hashTagStyle,
})

Implementation

const SocialMediaPost({
  super.key,
  this.profileImage,
  this.postImage,
  this.accountName = '',
  this.accountId = '',
  this.uploadDuration = '',
  this.likeCount = '',
  this.commentCount = '',
  this.caption,
  this.hashTags,
  this.accountNameStyle,
  this.countStyle,
  this.hashTagStyle,
});