CustomStarRating constructor

const CustomStarRating({
  1. Key? key,
  2. int? length,
  3. Widget? customEmptyStarIcon,
  4. Widget? customHalfStarIcon,
  5. Widget? customStarIcon,
  6. double? rating,
  7. Color? color,
  8. double? iconSize,
  9. dynamic onChange(
    1. double rating
    )?,
  10. double? spacing,
  11. bool allowHalfRating = true,
})

Implementation

const CustomStarRating(
    {Key? key,
    this.length,
    this.customEmptyStarIcon,
    this.customHalfStarIcon,
    this.customStarIcon,
    this.rating,
    this.color,
    this.iconSize,
    this.onChange,
    this.spacing,
    this.allowHalfRating = true})
    : super(key: key);