📜  飞镖重复功能 - 飞镖代码示例

📅  最后修改于: 2022-03-11 14:48:08.892000             🧑  作者: 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());
});