RatingIndicator constructor
const
RatingIndicator({})
Implementation
const RatingIndicator({
Key? key,
required this.value,
this.amount = 5,
this.ratedIcon = CupertinoIcons.star_fill,
this.unratedIcon = CupertinoIcons.star,
this.iconColor,
this.iconSize = 16,
this.onChanged,
this.semanticLabel,
}) : assert(iconSize >= 0),
assert(amount > 0),
assert(value >= 0 && value <= amount),
super(key: key);