SimpleRating constructor

SimpleRating(
  1. {RatingIcon icons = const RatingIcon(),
  2. int starCount = 5,
  3. double rating = 0.0,
  4. RatingChangeCallback onChanged,
  5. Color color,
  6. Color borderColor,
  7. double size,
  8. double spacing = 0.0,
  9. bool useHalfRating = true}
)

Implementation

SimpleRating(
    {this.icons = const RatingIcon(),
    this.starCount = 5,
    this.rating = 0.0,
    this.onChanged,
    this.color,
    this.borderColor,
    this.size,
    this.spacing = 0.0,
    this.useHalfRating = true}) {
  assert(this.rating != null);
}