RatingBar constructor

const RatingBar({
  1. double maxRating = 10.0,
  2. int count = 5,
  3. double value = 0,
  4. double size = 20,
  5. String nomalImage = "",
  6. String selectImage = "",
  7. double padding = 3,
  8. bool selectAble = false,
  9. bool half = false,
  10. required ValueChanged<double>? onRatingUpdate,
  11. Key? key,
})

Implementation

const RatingBar(
    {this.maxRating = 10.0,
    this.count = 5,
    this.value = 0,
    this.size = 20,
    this.nomalImage = "",
    this.selectImage = "",
    this.padding = 3,
    this.selectAble = false,
    this.half = false,
    required this.onRatingUpdate,
    Key? key})
    : super(key: key);