Flutter has a class called RestartableTimer which extends from Timer . It get's a Duration element ... When you want to restart it, you can simply reset it.
確定! 回上一頁