DDSRatingStars constructor

const DDSRatingStars({
  1. Key? key,
  2. double size = 40,
  3. Color color = Colors.orange,
  4. Color? borderColor,
  5. double initialRating = 3.5,
  6. double endIndent = 0.0,
  7. double width = 1.0,
  8. double height = 1.0,
  9. bool allowHalfRating = true,
  10. int starCount = 5,
  11. ValueChanged<double>? onRatingChanged,
  12. IconData? filledIcon,
  13. IconData? halfFilledIcon,
  14. IconData? emptyIcon,
  15. 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);