flutter_code_input
flutter_code_input copied to clipboard
text not clearing when SetState Rebuilding
I am using timer in my code, that's why i have to call SetState every second, but problem is that The text does not clear until the timer stops, when timer stops it work fine like I can add text and clear it, but when I Start my timer I can add text but can't delete it.
https://drive.google.com/file/d/10jd4Y-cFddBP7k9TgENgKyoyfPJc65cx/view?usp=sharing
Its so annoying issue once i realized he didn't make the plugin with TextEditController to at least get the value or clear the text in correct way.
for now, you can add key: UniqueKey() to clear the text