Rating constructor

const Rating({
  1. Key? key,
  2. double value = 0,
  3. String? count,
  4. double size = 18,
  5. Color? color,
  6. Color? emptyColor,
  7. ValueChanged<double>? onChanged,
  8. bool showValue = false,
  9. int maxRating = 5,
})

Implementation

const Rating({
  super.key,
  this.value = 0,
  this.count,
  this.size = 18,
  this.color,
  this.emptyColor,
  this.onChanged,
  this.showValue = false,
  this.maxRating = 5,
});