ControlledStarRating constructor

const ControlledStarRating({
  1. Key? key,
  2. StarRatingController? controller,
  3. double initialValue = 0.0,
  4. ValueChanged<double>? onChanged,
  5. bool enabled = true,
  6. double step = 0.5,
  7. Axis direction = Axis.horizontal,
  8. double max = 5.0,
  9. Color? activeColor,
  10. Color? backgroundColor,
  11. double starPoints = 5,
  12. double? starSize,
  13. double? starSpacing,
  14. double? starPointRounding,
  15. double? starValleyRounding,
  16. double? starSquash,
  17. double? starInnerRadiusRatio,
  18. double? starRotation,
})

Implementation

const ControlledStarRating({
  super.key,
  this.controller,
  this.initialValue = 0.0,
  this.onChanged,
  this.enabled = true,
  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,
});