DDSRatingStars constructor
const
DDSRatingStars({
- Key? key,
- double size = 40,
- Color color = Colors.orange,
- Color? borderColor,
- double initialRating = 3.5,
- double endIndent = 0.0,
- double width = 1.0,
- double height = 1.0,
- bool allowHalfRating = true,
- int starCount = 5,
- ValueChanged<
double> ? onRatingChanged, - IconData? filledIcon,
- IconData? halfFilledIcon,
- IconData? emptyIcon,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
Implementation
const DDSRatingStars({
Key? key,
this.size = 40,
this.color = Colors.orange,
this.borderColor,
this.initialRating = 3.5,
this.endIndent = 0.0,
this.width = 1.0,
this.height = 1.0,
this.allowHalfRating = true,
this.starCount = 5,
this.onRatingChanged,
this.filledIcon,
this.halfFilledIcon,
this.emptyIcon,
this.mainAxisAlignment = MainAxisAlignment.center,
}) : super(key: key);