kevlatus/flutter_fortune_wheel

Please add support for spin rotation speed

sguru049 opened this issue · 4 comments

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Hey @sguru049,

there is the rotationCount property, which implicitly determines rotation speed by setting the number of full rotations within one animation cycle.

Does that help?

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Just found this issue.
I want a more 'stable' spin where the curve is more aligned and spinning slow at last.
But with fx. rotationCount 2 and duration 10 (default), it spins really fast the first 1-2 seconds and then really slow the last 8 seconds.

It would nice, if not custom, then there were some predefined easings.

Hi @NicklasFrederiksen, doesn't the curve property fit your need? You can pass any Curve to it, which allows for customizing the easings