Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
Bro please create flutter tutorial ❤
class Patient{ String? name; int? age; Patient(this.name,this.age);}void main() { Patient p = Patient("jay",21); print(p.name); print(p.age);}
Very helpful series ❤
class Patient { String? name; int? age; String? disease; Patient(String name, int age, String disease) { this.name = name; this.age = age; this.disease = disease; } void display() { print("Name is $name"); print("age is $age"); print("Disease is $disease"); }}void main(List args) { Patient patient = Patient("vikram", 33, "typhoid"); patient.display();}
you are really handsome in this video, keep up the good work.
i dont understand why should we use constructor? i mean if you didnt put the constructor, i still works way the same right? just change the void display to void display (){ print ("Name is $name"); print ("Age is $age");}
thanks for your challengge
Welcome
🤔It's a bit difficult for me. I will watch all your video and come back to this video again. 😅😁 Thank you!!
Sure see you...
Hi, Bec! Any improvements?
You are Awesome
Thanks bro
class Patient { String? name; int? age; String? disease; Patient(String name, int age, String disease) { this.name = name; this.age = age; this.disease = disease; }}void main() { Patient patient = Patient("Harry", 23, "flue"); print(patient.name); print(patient.age); print(patient.disease);}
❤️❤️❤️💓💓❤️💓❤️
Thank you
class Patient { String? name; int? age; String? disease; Patient(this.name, this.age, this.disease); void display(){ print( 'Name: $name');print('Age: $age');print('Disease: $disease');} }void main(){Patient pacient= Patient('Lui', 19, 'Sobrepreso');pacient.display();}
class Patient { String? name; int? age; String? disease; //creating constructor Patient(n, a, d) { this.name = n; this.age = a; this.disease = d; }}void main() { Patient patient = Patient("Ram", 33, "Cancer"); print(patient.name); print(patient.age); print(patient.disease);}
class Patient { String? name; int? age; String? disease; Patient(this.name, this.age,this.disease); void display(){ print("The patient name is ${this.name}"); print("The patient age is ${this.age}"); print("The patient disease is ${this.disease}"); }}void main() { Patient p = Patient("Abebe",30,"Ameba"); p.display();}
Class Patient (){ String? name; int? age; String? disease; Patient ({this.name, this.age,this.disease}); void print (){ print("Name: ${this.name} ; print("Name: ${this.age} ; print("Name: ${this.disease} ; }}void main () { Patient p1 = Person("Wooble", 10, "Stomatche") p1.display();}
patient.dart class Patient { String? name; int? age; String? illness; Patient({required this.name, required this.age, required this.illness}) {} void display() { print("patient name is ${this.name}"); print("patient age is ${this.age}"); print("patient illness is ${this.illness}"); }}main.dart import 'patient.dart'; void main() { Patient p1 = Patient(name: "Ibrahim", age: 21, illness: "grip"); p1.display(); }
Bro please create flutter tutorial ❤
class Patient{
String? name;
int? age;
Patient(this.name,this.age);
}
void main() {
Patient p = Patient("jay",21);
print(p.name);
print(p.age);
}
Very helpful series ❤
class Patient {
String? name;
int? age;
String? disease;
Patient(String name, int age, String disease) {
this.name = name;
this.age = age;
this.disease = disease;
}
void display() {
print("Name is $name");
print("age is $age");
print("Disease is $disease");
}
}
void main(List args) {
Patient patient = Patient("vikram", 33, "typhoid");
patient.display();
}
you are really handsome in this video, keep up the good work.
i dont understand why should we use constructor? i mean if you didnt put the constructor, i still works way the same right? just change the void display to
void display (){
print ("Name is $name");
print ("Age is $age");
}
thanks for your challengge
Welcome
🤔It's a bit difficult for me. I will watch all your video and come back to this video again. 😅😁 Thank you!!
Sure see you...
Hi, Bec! Any improvements?
You are Awesome
Thanks bro
class Patient {
String? name;
int? age;
String? disease;
Patient(String name, int age, String disease) {
this.name = name;
this.age = age;
this.disease = disease;
}
}
void main() {
Patient patient = Patient("Harry", 23, "flue");
print(patient.name);
print(patient.age);
print(patient.disease);
}
❤️❤️❤️💓💓❤️💓❤️
Thank you
class Patient {
String? name;
int? age;
String? disease;
Patient(this.name, this.age, this.disease);
void display(){
print( 'Name: $name');
print('Age: $age');
print('Disease: $disease');
}
}
void main(){
Patient pacient= Patient('Lui', 19, 'Sobrepreso');
pacient.display();
}
class Patient {
String? name;
int? age;
String? disease;
//creating constructor
Patient(n, a, d) {
this.name = n;
this.age = a;
this.disease = d;
}
}
void main() {
Patient patient = Patient("Ram", 33, "Cancer");
print(patient.name);
print(patient.age);
print(patient.disease);
}
class Patient {
String? name;
int? age;
String? disease;
Patient(this.name, this.age,this.disease);
void display(){
print("The patient name is ${this.name}");
print("The patient age is ${this.age}");
print("The patient disease is ${this.disease}");
}
}
void main() {
Patient p = Patient("Abebe",30,"Ameba");
p.display();
}
Class Patient (){
String? name;
int? age;
String? disease;
Patient ({this.name, this.age,this.disease});
void print (){
print("Name: ${this.name} ;
print("Name: ${this.age} ;
print("Name: ${this.disease} ;
}
}
void main () {
Patient p1 = Person("Wooble", 10, "Stomatche")
p1.display();
}
patient.dart
class Patient {
String? name;
int? age;
String? illness;
Patient({required this.name, required this.age, required this.illness}) {}
void display() {
print("patient name is ${this.name}");
print("patient age is ${this.age}");
print("patient illness is ${this.illness}");
}
}
main.dart
import 'patient.dart';
void main() {
Patient p1 = Patient(name: "Ibrahim", age: 21, illness: "grip");
p1.display();
}