SocialFeedPostComponent constructor
SocialFeedPostComponent(- {Key? key,
- List<GalleryAttachmentArray>? postImage,
- String? content,
- bool? isLiked,
- bool? isFollowing = false,
- double? rating,
- int? likeCount,
- String? countryDistance,
- String? country,
- String? placeName,
- String? timeAgo,
- VoidCallback? onLiked,
- VoidCallback? onFollow,
- String? userName,
- String? userProfileImage,
- bool? isListingOwner,
- bool isPhoto = false,
- String? impressedBy,
- 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});