Skip to content

Instantly share code, notes, and snippets.

@Zkrls
Created November 24, 2022 13:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zkrls/70ea8ae11cb67765249142e4ae57e521 to your computer and use it in GitHub Desktop.
Save Zkrls/70ea8ae11cb67765249142e4ae57e521 to your computer and use it in GitHub Desktop.
exquisite-rhythm-8081

exquisite-rhythm-8081

Created with <3 with dartpad.dev.

//funcões
void main() {
saudacao();
}
void saudacao() {
print('Hello, World! ');
print('Seja bem vindo.');
print('Agora: ${agora()}');
}
// retorno de função.
String agora(){
DateTime agora = DateTime.now();
return agora.toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment