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