flutter sleep activity code example
Example: flutter sleep
await Future.delayed(const Duration(seconds: 1));
sleep(const Duration(seconds: 1));
await Future.delayed(const Duration(seconds: 1));
sleep(const Duration(seconds: 1));