Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻

Victor Adeshile davik4life

👨‍💻
View GitHub Profile
View dartfunction.dart
void main(){
greet('Victor Adeshile');
}
void greet(String name){
print('Hello, $name');
@davik4life
davik4life / class.dart
Created Jan 9, 2020
Some explanations of Dart Classes
View class.dart
void main(){
User victor = User();
victor.fName = 'Victor';
victor.lName = 'Adeshile';
victor.age = (30);
User love = User();
love.fName = 'Faith';
love.lName = 'Adeshile';
love.age = 21;
print(victor.fName);
You can’t perform that action at this time.