Dart Tutorial

printNumber(int aNumber) {
  print('The number is ${aNumber}')
}

main() {
  var number = 42; // Declare and intialize a variable
  printNumber(number); // Call a function
}