In some apps (e.g., BlinkIt, Swiggy, etc.), the search field shows animated suggestions instead of a static placeholder. For example, the hint text rotates/animates between:
“Search fruits”
“Search vegetables”
I want to achieve this effect in Flutter. Right now, the TextField only supports a single static hintText in InputDecoration.
Is there a clean way to implement this without manually building timers and animation controllers?
I tried to build with animated controller but its not smooth as expected
