RatingStars constructor

const RatingStars({
  1. Key? key,
  2. required RatingStarsBuilder builder,
  3. int starCount = 5,
  4. RatingStarsChanged? onChanged,
  5. Size starSize = const Size(20, 20),
  6. double starSpacing = 4,
  7. double value = 0.0,
  8. double step = 0.5,
  9. bool rounded = false,
  10. double minStars = 0,
  11. bool enable = true,
  12. bool followChanged = false,
})

Implementation

const RatingStars({
  super.key,
  required this.builder,
  this.starCount = 5,
  this.onChanged,
  this.starSize = const Size(20, 20),
  this.starSpacing = 4,
  this.value = 0.0,
  this.step = 0.5,
  this.rounded = false,
  this.minStars = 0,
  this.enable = true,
  this.followChanged = false,
});