Dart attendez 5 secondes

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