How do I stop my timer from fluttering?

you can use cancel method to stop the execution of timer by it self based on the condition. Timer. periodic(Duration(seconds: 1), (timer) { if(DateTime. now().

Sizin İçin Seçtik  Is Flutter multithreaded or single threaded?

Leave a Reply

Your email address will not be published. Required fields are marked *