glorylab / wave

A Flutter package for displaying waves.
https://wave.glorylab.xyz
MIT License
1.11k stars 96 forks source link

Add option to stop animation after a specified period #12

Closed clive107 closed 4 years ago

clive107 commented 5 years ago

Is your feature request related to a problem? Please describe. For now, the duration that passed into the WaveWidget is not being used. It would be good to be able to stop animations after a specified duration.

Describe the solution you'd like Add a property isLoop(bool) to the WaveWidget with default true. If isLoop is false, stop the animations after the specified duration.

Describe alternatives you've considered n/a

Additional context n/a