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

Fix NaN and infinite value handling in FortuneWheel #118

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

azaderdogan
Copy link

We got this error and I fixed.
Unsupported operation: Infinity or NaN toInt. Error thrown building Widget.
double./
double.
/ (dart:core)
FortuneWheel._vibrateIfBorderCrossed (fortune_wheel.dart:298)
FortuneWheel.build... (fortune_wheel.dart:249)

@kevlatus kevlatus merged commit bbd44c0 into kevlatus:main Feb 5, 2024
1 check passed
@kevlatus
Copy link
Owner

kevlatus commented Feb 5, 2024

thanks for your contribution @azaderdogan! Release 1.3.1 includes your change

@azaderdogan
Copy link
Author

You are welcome.

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

Successfully merging this pull request may close these issues.

2 participants