Rick Chin
ย ยทย Aspiring to build software that people will love

Interactive RatingBar always shows 5/5 rating, regardless of actual value. What am I missing

I have put a RatingBar on a bottom sheet. I set its initial value from a value in Firestore. I created an action "On Tap" that updates the Firestore value with that of this widget.

I'm running in Safari. When I start up Test Mode, I tap on a star in this widget, I can see that the Firestore value is updating correctly.

The issue is that regardless of the star I tap in the widget, it does not visually change and always shows 5 stars in the "Rated Color" (the max) and none in the "Unrated Color".

This seems to be the most basic interaction for this widget, so I can't believe this is a bug. I'm hoping that I am overlooking something that should have been obvious to me.

Any thoughts? Thanks.

2
10 replies