NiceRatings constructor

const NiceRatings({
  1. Key? key,
  2. double value = 0,
  3. ValueChanged<double>? onChanged,
  4. int maxStars = 5,
  5. double size = 24,
  6. Color? color,
  7. bool showValue = false,
  8. bool showCount = false,
  9. int count = 0,
  10. bool readOnly = false,
})

Implementation

const NiceRatings({
  super.key,
  this.value = 0,
  this.onChanged,
  this.maxStars = 5,
  this.size = 24,
  this.color,
  this.showValue = false,
  this.showCount = false,
  this.count = 0,
  this.readOnly = false,
});