以下の例では、1秒毎に処理を実行しています。 void hoge() async { await Future.delayed(Duration(seconds: 1)); print('1秒後に実行'); }.
確定! 回上一頁