NiceReviewCard constructor

const NiceReviewCard({
  1. Key? key,
  2. required String reviewerName,
  3. String? reviewerAvatar,
  4. required double rating,
  5. required String review,
  6. DateTime? date,
  7. bool verified = false,
  8. int? helpfulCount,
  9. VoidCallback? onHelpful,
  10. VoidCallback? onReport,
  11. Widget? response,
})

Implementation

const NiceReviewCard({
  super.key,
  required this.reviewerName,
  this.reviewerAvatar,
  required this.rating,
  required this.review,
  this.date,
  this.verified = false,
  this.helpfulCount,
  this.onHelpful,
  this.onReport,
  this.response,
});