Last active
October 5, 2021 12:39
-
-
Save ruan65/9f41e69cba9d804c76081b76f3148381 to your computer and use it in GitHub Desktop.
Revisions
-
ruan65 revised this gist
Oct 5, 2021 . 1 changed file with 10 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,12 @@ void main() async { Future.delayed(Duration(milliseconds: 500)).then((_) { print('hi'); }); print('hello'); await Future.delayed(Duration(milliseconds: 1000)); print('hi'); print('hello'); } -
ruan65 created this gist
Oct 5, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ Future.delayed(Duration(seconds: 1)).then((_) { print('hi'); }); print('hello');