Dart czekaj 5 sekund

await Future.delayed(Duration(seconds: 1));
SeriousMonk