ZwapStars constructor

ZwapStars({
  1. Key? key,
  2. double starSize = 32,
  3. int starCount = 5,
  4. double rating = .0,
  5. Color defaultColor = ZwapColors.neutral200,
  6. Color selectedColor = ZwapColors.warning300,
  7. Color hoverColor = ZwapColors.warning200,
  8. dynamic onStarClick(
    1. double value
    )?,
  9. double spaceBetweenStart = 20,
})

Implementation

ZwapStars({
  Key? key,
  this.starSize = 32,
  this.starCount = 5,
  this.rating = .0,
  this.defaultColor = ZwapColors.neutral200,
  this.selectedColor = ZwapColors.warning300,
  this.hoverColor = ZwapColors.warning200,
  this.onStarClick,
  this.spaceBetweenStart = 20,
}) : super(key: key);