Want to stop the timer in flutter? Just keep a reference to the time and cancel it when you don’t need it anymore:
1 2 3 | var timer = startTimeout(100); ... timer.cancel(); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.