Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create view only ratings #73

Open
iesmail-znz opened this issue Sep 18, 2021 · 2 comments
Open

Create view only ratings #73

iesmail-znz opened this issue Sep 18, 2021 · 2 comments

Comments

@iesmail-znz
Copy link

Sometimes there are scenarios where you only want to display the ratings without necessarily making them interactive.
It will be good to have a view only rating.

@artoniaz
Copy link

Use RatingBarIndicator() which is a buildin widget.

RatingBarIndicator( rating: rating, itemSize: itemSize, itemBuilder: (context, index) => Icon( Icons.star, color: Colos.red, ));

@bahag-mortazavim
Copy link

bahag-mortazavim commented Apr 23, 2024

Use RatingBarIndicator() which is a buildin widget.

RatingBarIndicator( rating: rating, itemSize: itemSize, itemBuilder: (context, index) => Icon( Icons.star, color: Colos.red, ));

Hi, that's what I am currently using now. But the problem to me is, I want to have different icon for the empty rating stars. Is it possible to do it with RatingBarIndicator? I mean I need something like the image and also i need a decimal point rating as well, for example 3.8 or 2.2 :

simulator_screenshot_13AAD3D1-2D26-4C0D-B613-47E921E2A1D1

can you please help me in this regard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants