Created
November 17, 2020 06:33
-
-
Save tahlin-notes/1b1315ede035213f1f5f262bea097d04 to your computer and use it in GitHub Desktop.
Sample create Future
This file contains 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 characters
void main() { | |
// final sampleFuture = Future<T>(() {}); | |
final sampleFuture = Future<void>(() { | |
print('2'); | |
}); | |
print('1'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment