RatingIcon constructor
const
RatingIcon({})
Implementation
const RatingIcon({
Key? key,
required this.rating,
this.ratedColor,
this.unratedColor,
this.icon = Icons.star_rate_sharp,
this.size,
}) : assert(rating >= 0.0 && rating <= 1.0),
super(key: key);