SocialFeedPostComponent constructor

SocialFeedPostComponent(
  1. {Key? key,
  2. List<GalleryAttachmentArray>? postImage,
  3. String? content,
  4. bool? isLiked,
  5. VoidCallback? onComment,
  6. bool? isFollowing = false,
  7. String? commentCount,
  8. double? rating,
  9. int? likeCount,
  10. String? countryDistance,
  11. String? country,
  12. String? placeName,
  13. String? timeAgo,
  14. VoidCallback? onLiked,
  15. VoidCallback? onFollow,
  16. String? userName,
  17. String? userProfileImage,
  18. bool? isListingOwner,
  19. bool isPhoto = false,
  20. String? impressedBy,
  21. required int userId}
)

Implementation

SocialFeedPostComponent(
    {super.key,
    this.postImage,
    this.content,
    this.isLiked,
    this.onComment,
    this.isFollowing = false,
    this.commentCount,
    this.rating,
    this.likeCount,
    this.countryDistance,
    this.country,
    this.placeName,
    this.timeAgo,
    this.onLiked,
    this.onFollow,
    this.userName,
    this.userProfileImage,
    this.isListingOwner,
    this.isPhoto = false,
    this.impressedBy,
    required this.userId});