Start over onDone
Opened this issue · 6 comments
Deleted user commented
Hey, is there any way to get the countdown clock to start again when it hits 0? I've tried many different ways but it just seems to get stuck at 0 no matter what I do.
phucgaoxam commented
@runedrune can you please wait for a few days for the next update.
I will mention you after I'm done.
Deleted user commented
Yeah sure man. No problem.
phucgaoxam commented
@runedrune or you can try setState (reset the widget itself)
Deleted user commented
I tried that. Doesn't seem to work. In onDone I tried setstate and passed a new value to duration but it didn't work. Just stayed at 0. Can't figure out why.
bawantha commented
yes setState or any other state management method won't work timer build only once.
tylerjin commented