RatingWidget constructor

const RatingWidget({
  1. Key? key,
  2. required double rating,
  3. int maxRating = 5,
  4. double size = 24,
  5. ValueChanged<double>? onRatingChanged,
  6. bool allowHalfRating = true,
  7. Color? color,
})

Implementation

const RatingWidget({
  super.key,
  required this.rating,
  this.maxRating = 5,
  this.size = 24,
  this.onRatingChanged,
  this.allowHalfRating = true,
  this.color,
});