I have a RatingBar with updateOnDrag: true and the onRatingUpdate callback set to update my app's state.
When dragging fast I see that onRatingUpdate is not called with the latest value, so that I get a value that is different from the one displayed by the stars.
NOTE: I would have tried a workaround looking at the State, but I would need a public getter to access _rating
I have a RatingBar with
updateOnDrag: true
and theonRatingUpdate
callback set to update my app's state.When dragging fast I see that onRatingUpdate is not called with the latest value, so that I get a value that is different from the one displayed by the stars.
NOTE: I would have tried a workaround looking at the State, but I would need a public getter to access _rating