NiceStarRating constructor

const NiceStarRating({
  1. Key? key,
  2. double rating = 0,
  3. int starCount = 5,
  4. double starSize = 24,
  5. Color? activeColor,
  6. Color? inactiveColor,
  7. void onRatingChanged(
    1. double rating
    )?,
  8. bool readOnly = false,
  9. bool allowHalfRating = false,
  10. EdgeInsetsGeometry? padding,
})

Implementation

const NiceStarRating({
  super.key,
  this.rating = 0,
  this.starCount = 5,
  this.starSize = 24,
  this.activeColor,
  this.inactiveColor,
  this.onRatingChanged,
  this.readOnly = false,
  this.allowHalfRating = false,
  this.padding,
});