MarcelGarus / marquee

A Flutter widget that scrolls text infinitely. Provides many customizations including custom scroll directions and velocities, pausing after every round and specifying custom durations and curves for accelerating and decelerating.
MIT License
284 stars 135 forks source link

Scroll Speed seems to lag behind changes to it #58

Open robertflesch opened 3 years ago

robertflesch commented 3 years ago

I am using a slider to adjust the velocity. But even though I am calling a setState, it takes 1-60+ seconds before I see the change in the velocity of the Marquee. Is there any way to make this more interactive?

yanivshaked commented 3 years ago

Try adding a Key to the Marquee, and changing the Key value on every setState. This is not the most efficient solution, but can serve as a workaround.