RatingBarWidget constructor
RatingBarWidget({
- int itemCount = 5,
- double spacing = 0.0,
- double rating = 0.0,
- IconData? defaultIconData,
- required RatingChangeCallback? onRatingChanged,
- Color? activeColor = Colors.yellow,
- Color? inActiveColor,
- double size = 25,
- IconData? filledIconData,
- IconData? halfFilledIconData,
- bool allowHalfRating = false,
- bool disable = false,
- Key? key,
Implementation
RatingBarWidget({
this.itemCount = 5,
this.spacing = 0.0,
this.rating = 0.0,
this.defaultIconData,
required this.onRatingChanged,
this.activeColor = Colors.yellow,
this.inActiveColor,
this.size = 25,
this.filledIconData,
this.halfFilledIconData,
this.allowHalfRating = false,
this.disable = false,
super.key,
});