VxRating constructor

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

Implementation

const VxRating({
  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,
});