StarRating constructor
const
StarRating({
- Key? key,
- required double value,
- ValueChanged<
double> ? onChanged, - 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 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,
});