sarbagyastha / flutter_rating_bar

A simple ratingbar for flutter which also include a rating bar indicator, supporting any fraction of rating.
MIT License
402 stars 103 forks source link

Changing rating back to 0 is confusing #47

Open Mihai-B opened 3 years ago

Mihai-B commented 3 years ago

This issue relates to https://github.com/sarbagyastha/flutter_rating_bar/issues/33

I like the feature, but in my opinion it is a little bit confusing for a user. No one will know to set the rating bar to 1 star and then tap again.

Wouldn't it be more intuitive that if you tap again on the same rating as you previously did to change the rating back to 0?

Example: min rating is 0 max is 10. A user presses on the rating 8 icon, but then changes his mind and wants to 'reset the rating' aka go back to 0. The user will most likely press again the 8 icon rating to deselect it.

sarbagyastha commented 3 years ago

Wouldn't it be more intuitive that if you tap again on the same rating as you previously did to change the rating back to 0?

@Mihai-B I agree. Thanks for the suggestion. Will change it in next update.

otis22 commented 3 years ago

@Mihai-B @sarbagyastha how to I can reset RatingBar now?

Mihai-B commented 3 years ago

@otis22 You need to allow minimum rating to be 0, and then as a user you have to press the first star 1 time and then press it again

otis22 commented 3 years ago

@Mihai-B I can reset stars bymyself?

otis22 commented 3 years ago

I found answer. I route to this page again after press on star. Thanks guys.

juanp88 commented 2 years ago

I would like to be able to reset the rating bar by passing the rate value. For example I could create a reset button in my ui that passes that value, That would be possible?

norutplz commented 2 years ago

How to I can reset RatingBar now? Why I can't reset RatingBar by double tap?

Mihai-B commented 2 years ago

Currently, you can reset the bar by taping 2 times on the first "star". Or you can always repaint the widget.

tadenot commented 2 years ago

Can you reset the bar in the code (instead of tapping twice on first star)?