Closed AlvBarros closed 1 year ago
Even the 'isLoop' parameter doesn't exactly loop, since the animation is set to 'reverse' on end, instead o 'reset'
Below is a screenshot of lib/wave.dart line 265.
.
Closing this issue since it didn't have any progress at all.
Is your feature request related to a problem? Please describe. This suggested feature would enable customization on the wave animation cycle.
Describe the solution you'd like An enum for every possible action on AnimationStatus.completed, and an additional parameter to set the animation's Curve.
Describe alternatives you've considered Add a 'curve' parameter in WaveWidget, 'reverseOnEnd' and 'resetOnEnd'.
Additional context I've made a fork and a commit at AlvBarros/wave, and was about to create a Pull Request to this plugin. It's not the best solution, but solved my problem and I thought that I'd share.