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