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
{{ message }}
Repository navigation
Velocity Tracker getVelocity shouldn't return null when it thinks velocity is 0.0 #8425
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
eseidelGoogle commentedon Feb 28, 2017
Presumably @abarth or @Hixie know what to do with this. :) I don't know how to sort this.
Hixie commentedon Feb 28, 2017
For now you can work around it by reading the velocity and appending
?? 0.0.Hixie commentedon Feb 28, 2017
or maybe
?? Offset.zero, or some such. I forget what class the result uses.Make getVelocity never return null
Make getVelocity never return null (#9583)
github-actions commentedon Sep 5, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.