Skip to content

Instantly share code, notes, and snippets.

@Zkrls
Created Nov 24, 2022
Embed
What would you like to do?
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