Created with <3 with dartpad.dev.
Created
November 24, 2022 13:40
-
-
Save Zkrls/70ea8ae11cb67765249142e4ae57e521 to your computer and use it in GitHub Desktop.
exquisite-rhythm-8081
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
//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