Answers for "create a repeating timer flutter"

4

dart timer repeat

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

// repeatedly :
Timer.periodic(Duration(seconds: 5), (timer) {
  print(DateTime.now());
});
Posted by: Guest on June-27-2021
0

how to create timer in flutter

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

print('This line is printed first');
Copied!
Posted by: Guest on October-22-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language