//void returns nothing
//main() is the first method that dart will look for
void main() {
String greet = "Welcome";
print(greet);
String name = "Flutter Basics";
print (greet + ' to ' + name); // bad way
int age =26;
print (age) ;
bool isFun =true;
print(isFun);
}
Last active
March 20, 2023 07:08
-
-
Save sdkdeepa/f4eab7c3b94ccfee7dac3c94d8ebabce to your computer and use it in GitHub Desktop.
Basics of Dart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment