StarRating constructor

const StarRating({
  1. Key? key,
  2. required double value,
  3. ValueChanged<double>? onChanged,
  4. double step = 0.5,
  5. Axis direction = Axis.horizontal,
  6. double max = 5.0,
  7. Color? activeColor,
  8. Color? backgroundColor,
  9. double starPoints = 5,
  10. double? starSize,
  11. double? starSpacing,
  12. double? starPointRounding,
  13. double? starValleyRounding,
  14. double? starSquash,
  15. double? starInnerRadiusRatio,
  16. double? starRotation,
})

Implementation

const StarRating({
  super.key,
  required this.value,
  this.onChanged,
  this.step = 0.5,
  this.direction = Axis.horizontal,
  this.max = 5.0,
  this.activeColor,
  this.backgroundColor,
  this.starPoints = 5,
  this.starSize,
  this.starSpacing,
  this.starPointRounding,
  this.starValleyRounding,
  this.starSquash,
  this.starInnerRadiusRatio,
  this.starRotation,
});