wave icon indicating copy to clipboard operation
wave copied to clipboard

Enable dynamic wave amplitude adjustments

Open mhstoller opened this issue 3 years ago • 0 comments

With the WaveWidget inside a StreamBuilder it wasn't possible to change the waveAmplitude value based on new stream data. This change allows you to update the waveAmplitude value and have it reflected in the waves that are displayed.

This may not be the best way to achieve this behavior, but if it's useful then great!

I also haven't migrated to null safety in my own project, so I don't know the implications of what I have done here, other than that it builds without errors.

mhstoller avatar Jun 20 '21 22:06 mhstoller