How to run clock timer in background on flutter?
问题 I am try to create a timer app which have multiple countdown timer for different task. Issue, i am facing is that, if i start one timer, and press back button, timer stops. So i want, that timer to run till either it is being paused or timer ends and alerts the user or app is destroyed.Help me how can i do this using Flutter? Also i using sql-lite to store all timers. 回答1: Ah, background tasks! Dart (the language Flutter uses) is single-threaded . What does single-threaded mean? Single