RatingStar constructor

const RatingStar({
  1. Key? key,
  2. int count = DEFAULT_COUNT,
  3. double selectedCount = 0,
  4. double space = DEFAULT_SPACE,
  5. RatingStarBuilder? starBuilder,
  6. ValueChanged<double>? onSelected,
  7. Color? color = const Color(0xFFF0F0F0),
  8. Color? activeColor,
  9. bool canRatingZero = false,
  10. double size = 16.0,
})

Implementation

const RatingStar({
  Key? key,
  this.count = DEFAULT_COUNT,
  this.selectedCount = 0,
  this.space = DEFAULT_SPACE,
  this.starBuilder,
  this.onSelected,
  this.color = const Color(0xFFF0F0F0),
  this.activeColor,
  this.canRatingZero = false,
  this.size = 16.0,
}) : super(key: key);