RatingBar constructor
- {int starCount = 5,
- double rating = 0.0,
- Color color,
- Widget icon,
- double size,
- RatingChangeCallBack onRatingCallback,
- VoidCallback clickedCallbackAsIndicator,
- bool isIndicator = false,
- double spacing = 0.0,
- bool allowHalfRating = true}
Implementation
RatingBar(
{this.starCount = 5,
this.rating = 0.0,
this.color,
this.icon,
this.size,
this.onRatingCallback,
this.clickedCallbackAsIndicator,
this.isIndicator = false,
this.spacing = 0.0,
this.allowHalfRating = true}) {
assert(this.rating != null);
assert(this.size != null);
}