You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code above was supposed to disallow half rating but it actually did allow, and vice versa. I believe there sth wrong in your conditional checking in your code.
Hi there, the first code you posted has allowHalfRating set to true , so you will get half rated stars as you posted in the first image which is the expected behaviour.The second code you posted also has allowHalfRating set to true(This may be typo on your side,Please recheck your code again) .Looking at the second image, the parameter allowHalfRating =false should give something similar to second image.I am closing this for now.Dont hesitate to open it again.Thanks
SmoothStarRating( allowHalfRating: true, rating: novel.rating, starCount: 10, size: 16, color: theme.accentColor, borderColor: theme.accentColor, spacing: 0.0, )
The code above was supposed to disallow half rating but it actually did allow, and vice versa. I believe there sth wrong in your conditional checking in your code.
SmoothStarRating( allowHalfRating: true, rating: novel.rating, starCount: 10, size: 16, color: theme.accentColor, borderColor: theme.accentColor, spacing: 0.0, )
The text was updated successfully, but these errors were encountered: