📜  飞镖计时器重复 - 飞镖代码示例

📅  最后修改于: 2022-03-11 14:48:09.888000             🧑  作者: Mango

代码示例1
Timer(Duration(seconds: 3), () {
  print("Yeah, this line is printed after 3 second");
});

// repeatedly :
Timer.periodic(Duration(seconds: 5), (timer) {
  print(DateTime.now());
});