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
That’s because I’m too lazy to do that =). Thanks for pointing this out.
I try to implement that on the branch “dev/feature/continuous-rollTo”.
(Hash tag is 3047ee0).
You could try import that version using git reference in pubspec.yaml.
If you find that's useful, please let me know and I would consider to release it on main branch.
I'v published the version 0.1.3 to fix this.
You can upgrade to that version now and, I'm closing this issue.
If you have any other questions about this issue, please re-open, thanks :)
Hello, I am using this package and I notice that when using the "rollTo" method the spinner resets and spins instead of continuing where it was going.
Any idea how to make the roulette continue where it was and not see that reset screenshot?
I think that the problem maybe is in _controller.forward(from: 0) instead of current index.
Future<void> rollTo( int targetIndex, { Duration duration = defaultDuration, int minRotateCircles = defaultMinRotateCircles, bool clockwise = true, Curve? curve = Curves.fastOutSlowIn, double offset = 0, }) async { final targetRotate = calculateEndRotate( group, targetIndex, clockwise, minRotateCircles, offset: offset, ); _controller.duration = duration; _animation = makeAnimation(_controller, targetRotate, curve); notifyListeners(); **await _controller.forward(from: 0);**
}``Thank very much
The text was updated successfully, but these errors were encountered: