Last active
April 15, 2020 10:08
-
-
Save tailorvj/fc39c0454cc9fbef9bf90757d805d425 to your computer and use it in GitHub Desktop.
The most basic Dart app in the world
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(){ | |
print("App started"); | |
App(); //no need to use the new keyword in Dart | |
print("App finished"); | |
} | |
class App{ | |
App(){ | |
print("Constructing a class."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment