Timer

A countdown timer that can be configured to fire once or repeatedly.
The timer counts down from the specified duration to 0. When the timer reaches 0, the timer invokes the specified callback function.

Timer.run

  • The tasks started by multiple Timer. runs are executed in sequence according to the task queue. This means that the task called first executes first

Future

The Future common construct is itself an asynchronous task performed by Timer.run
Leetcode_142-环形链表_IIFlutter AppRun 简单解析
Loading...