ModulaRatingDisplay.multiIcon constructor
const
ModulaRatingDisplay.multiIcon({})
Implementation
const ModulaRatingDisplay.multiIcon({
required this.rating,
required this.ratingIcons,
super.key,
this.maxRating = 5,
this.iconSize = 24.0,
this.spacing = 4.0,
this.allowHalfRating = false,
this.readOnly = true,
this.filledColor = Colors.amber,
this.emptyColor = Colors.grey,
this.onRatingChanged,
}) : type = ModulaRatingType.multiIcon,
filledIcon = null,
emptyIcon = null,
ratingImages = null;