ControlledStarRating constructor
const
ControlledStarRating({
- Key? key,
- StarRatingController? controller,
- double initialValue = 0.0,
- ValueChanged<
double> ? onChanged, - bool enabled = true,
- double step = 0.5,
- Axis direction = Axis.horizontal,
- double max = 5.0,
- Color? activeColor,
- Color? backgroundColor,
- double starPoints = 5,
- double? starSize,
- double? starSpacing,
- double? starPointRounding,
- double? starValleyRounding,
- double? starSquash,
- double? starInnerRadiusRatio,
- 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,
});