AnimatedRatingBar constructor
const
AnimatedRatingBar({
- Key? key,
- ValueChanged<
int> ? onRatingChanged, - required Widget emptyWidget,
- required Widget fullWidget,
- ARBAnimationType animationType = ARBAnimationType.bounce,
- double animationItensity = 2,
- bool cascadeAnimation = true,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
- int initialValue = 0,
- 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,
});