kevlatus/flutter_fortune_wheel

Does support for a predefined value exist?

peazz opened this issue · 2 comments

peazz commented

I come across your package and upon initial testing, it's amazing - kudos!

I was wondering, does support exist for landing on a predefined result? for example, could I start the wheel with a defined end value and have the animation always land on that cell?

Actually it's the only way it works. Out of the box. You provide a Stream.
And the wheel/bar goes to a position sent into the Sink.

hi @peazz, as @programmador pointed out, this is exactly how this package works. Please have a look at the example to see how values are provided to the wheel