SmoothStarRating constructor

SmoothStarRating({
  1. int starCount = 5,
  2. double spacing = 0.0,
  3. double rating = 0.0,
  4. IconData? defaultIconData,
  5. RatingChangeCallback? onRatingChanged,
  6. Color? color,
  7. Color? borderColor,
  8. double size = 25,
  9. IconData? filledIconData,
  10. IconData? halfFilledIconData,
  11. bool allowHalfRating = true,
})

Implementation

SmoothStarRating({
  this.starCount = 5,
  this.spacing = 0.0,
  this.rating = 0.0,
  this.defaultIconData,
  this.onRatingChanged,
  this.color,
  this.borderColor,
  this.size = 25,
  this.filledIconData,
  this.halfFilledIconData,
  this.allowHalfRating = true,
});