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

When I move the mouse across an empty rating bar the stars jump around #86

Open
schlende opened this issue Jun 10, 2022 · 1 comment
Open

Comments

@schlende
Copy link

My code:

RatingBar.builder(
  initialRating: rating,
  minRating: 1,
  direction: Axis.horizontal,
  allowHalfRating: true,
  itemSize: 32,
  itemCount: 5,
  itemPadding:
  EdgeInsets.symmetric(horizontal: 1.0),
  itemBuilder: (context, _) => Icon(
    Icons.star,
    color: Colors.amber,
  ),
  onRatingUpdate: (rating) {
    this.rating = rating;
  },
)
JumpThing.mov
@schlende
Copy link
Author

Seems to be an issue with RatingBar.builder... I don't have the issue if I use RatingBar

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

1 participant