VxRating constructor

const VxRating({
  1. Key? key,
  2. double maxRating = 10.0,
  3. int count = 5,
  4. double value = 10.0,
  5. double size = 20,
  6. dynamic normalImage,
  7. dynamic selectImage,
  8. double padding = 0,
  9. Color normalColor = Colors.grey,
  10. Color selectionColor = Colors.red,
  11. bool isSelectable = true,
  12. bool stepInt = false,
  13. required ValueChanged<String> onRatingUpdate,
})

Implementation

const VxRating({
  super.key,
  this.maxRating = 10.0,
  this.count = 5,
  this.value = 10.0,
  this.size = 20,
  this.normalImage,
  this.selectImage,
  this.padding = 0,
  this.normalColor = Colors.grey,
  this.selectionColor = Colors.red,
  this.isSelectable = true,
  this.stepInt = false,
  required this.onRatingUpdate,
});