Skip to content

Instantly share code, notes, and snippets.

@mskasal
Created July 20, 2019 11:23
Show Gist options
  • Save mskasal/92260b8e505dd729d03a0cc356505bea to your computer and use it in GitHub Desktop.
Save mskasal/92260b8e505dd729d03a0cc356505bea to your computer and use it in GitHub Desktop.
Dart and Flutter learning - Medium
// Define a function.
printInteger(int aNumber) {
print('The number is $aNumber.'); // Print to console.
}
// This is where the app starts executing.
main() {
var number = 42; // Declare and initialize a variable.
printInteger(number); // Call a function.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment