NiceRating constructor

const NiceRating({
  1. Key? key,
  2. double value = 0,
  3. void onChanged(
    1. double
    )?,
  4. int count = 5,
  5. double size = 32,
  6. Color? activeColor,
  7. Color? inactiveColor,
  8. bool allowHalf = false,
  9. bool allowClear = true,
  10. bool readonly = false,
  11. IconData activeIcon = Icons.star,
  12. IconData inactiveIcon = Icons.star_border,
  13. IconData? halfIcon = Icons.star_half,
  14. String? label,
})

Implementation

const NiceRating({
  super.key,
  this.value = 0,
  this.onChanged,
  this.count = 5,
  this.size = 32,
  this.activeColor,
  this.inactiveColor,
  this.allowHalf = false,
  this.allowClear = true,
  this.readonly = false,
  this.activeIcon = Icons.star,
  this.inactiveIcon = Icons.star_border,
  this.halfIcon = Icons.star_half,
  this.label,
});