UIRatingBarIndicator constructor
const
UIRatingBarIndicator({
- Key? key,
- required double rating,
- UIRatingWidget? ratingWidget,
- int itemCount = 5,
- Axis direction = Axis.horizontal,
- bool allowHalfRating = true,
- EdgeInsetsGeometry itemPadding = EdgeInsets.zero,
- double itemSize = 24,
- Color? filledColor,
- Color? emptyColor,
Creates a UIRatingBarIndicator with a fixed ratingWidget for every item.
Implementation
const UIRatingBarIndicator({
super.key,
required this.rating,
this.ratingWidget,
this.itemCount = 5,
this.direction = Axis.horizontal,
this.allowHalfRating = true,
this.itemPadding = EdgeInsets.zero,
this.itemSize = 24,
this.filledColor,
this.emptyColor,
}) : itemBuilder = null;