📜  飞镖计时器延迟 - 飞镖代码示例

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

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

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