roulette icon indicating copy to clipboard operation
roulette copied to clipboard

SPIN

Open LordCortes opened this issue 11 months ago • 2 comments

How can I make the spinning wheel rotate indefinitely, continuously spinning until I give the command to stop?

I also want to add a form that appears at the start of the spin, but the animation stops and shows the prize before the form is filled out. I can’t find an option to make it keep spinning until I decide to stop it.

LordCortes avatar Jan 13 '25 21:01 LordCortes

While indefinite rotation is not currently supported, it's relatively straightforward to implement. The roulette animation is based on Flutter's built-in animation capabilities.

do9core avatar Jan 17 '25 08:01 do9core

I've implemented indefinite rotation in the feat/infinite-rolling branch. (Examples included)

Please test it and let me know if it meets your expectations. If so, I'll prepare a new release. Thanks! :)

do9core avatar Jan 17 '25 09:01 do9core