AnimatedRatingBar constructor

const AnimatedRatingBar({
  1. Key? key,
  2. ValueChanged<int>? onRatingChanged,
  3. required Widget emptyWidget,
  4. required Widget fullWidget,
  5. ARBAnimationType animationType = ARBAnimationType.bounce,
  6. double animationItensity = 2,
  7. bool cascadeAnimation = true,
  8. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
  9. int initialValue = 0,
  10. int ratingLength = 5,
})

Implementation

const AnimatedRatingBar({
  super.key,
  this.onRatingChanged,
  required this.emptyWidget,
  required this.fullWidget,
  this.animationType = ARBAnimationType.bounce,
  this.animationItensity = 2,
  this.cascadeAnimation = true,
  this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
  this.initialValue = 0,
  this.ratingLength = 5,
});