To the people, who are learning from this tutorial after 5 years , dart has changed its features now it provide null safety that means int and string does not hold null value now , non nullable datatype to make them null by type casting use - int? nullableNumber; String? nullableText; or use late keyword in front of it for example - late int x ;
@osteen4x4 жыл бұрын
You are a very good teacher. God bless you. When i become a professional full stack app developer and i start working, i promise to find you
@smartherd4 жыл бұрын
Will be pleased to meet u brother
@Winner4ever5 жыл бұрын
Best ever,I thought i knew all the basics until I watched this play list.
@muhammadsaqib16435 жыл бұрын
thanks for "Dart Tutorial for Beginners: Basics and Fundamentals" .
@harit47675 жыл бұрын
You have created a much helpful Dart tutorial playlist. Thank you for your efforts.
@abdulazizdeveloper7915 Жыл бұрын
I really don't know how to thank you for your great effort , thank you very much 👍🏻
@MassimoTodaro745 жыл бұрын
I am very thankful for this playlist. Thank you
@karthickrajalearn5 жыл бұрын
In 8m 07sec Thanks for Mentioning Default Value
@mrMayhem13373 жыл бұрын
Very well done sir. Straight to the point and clear. Thanks!
@pagal81922 жыл бұрын
You are a very good teacher
@razasheikh46054 жыл бұрын
you are my Guru Shiriank Sir :) i've learned a lot from you regarding Android Studio and now i'm learning flutter as well! i really appreciate your work! Respect and your Student from Pakistan!
@smartherd4 жыл бұрын
Thank you very much
@thiruvenkatasamypranesh8010 ай бұрын
hey noob
@kavinthapa90762 жыл бұрын
You are such a Amazing tutor Thanks a lot
@ajaykotiyal4275 жыл бұрын
Thank you so much for such tutorials.
@PrimaClicks4 жыл бұрын
you have an excellent job. appreciate you man. Perfect!
@kimanijesse10 ай бұрын
perfect😂...great tutorials
@kashyapkarkar67035 жыл бұрын
@Smartherd thank you for this amazing course . it cleared out my basics of programming in a really smooth and understandable way.
@siva79304 жыл бұрын
best example brother
@saisasisai4 жыл бұрын
Nice 👌 Tutorial series ...!
@ricardoaraque65153 жыл бұрын
Hi, i'd like do an ask: Why we know the values from an instance by the . instead the [], What type of var is a instance of a class?
@mrpakravian6 жыл бұрын
Amaizing teaching
@pythonlui39225 жыл бұрын
Thank you
@jafetl.ch.89616 жыл бұрын
thanks for the tutorial
@smartherd6 жыл бұрын
U r always welcome
@SeraphimTech_io6 жыл бұрын
good job bro thx a lot every time
@fayezalle433 жыл бұрын
Thank you very much.
@AR-ok2qt5 жыл бұрын
Hi Sir, How can you say that a variable is assigned with a class name or method name if while instantiating you are skipping the new keyword ?
@prajwaldsouza2115 жыл бұрын
The 'new' keyword is optional from Dart 2.0 onwards. He already mentioned it in the video.
@haribabumanoharan53662 жыл бұрын
If you give some exercise at the end of each video it will be more useful Thanks.
@pranavyogeshbaradkar15674 жыл бұрын
sir how can i learn advance dart tutorial. everywhere i am getting basic dart. please help. BTW great tutorial i understood many basic concept.
@rajkhanna30894 жыл бұрын
Hi brother
@andrewvillegas1224 жыл бұрын
Thank you so much for this1
@krishnakumarramachandran58886 жыл бұрын
Thank you sir👍
@smartherd6 жыл бұрын
Welcome. Thanks for ur comments
@zakblacki4 жыл бұрын
"this " usage is still a little confusing
@SignumCode2 жыл бұрын
hello sir your tutorial is really helping but why i got error in this code It should throw exception void main() { var s1= Student(); try{ s1.age="20"; }catch(e) { print(e); } print("${s1.name} is ${s1.age} year old"); s1.sleep(); s1.study(); } class Student { String name = "Peter"; int age = 23; void sleep() { print("${this.name} is sleeping."); } void study() { print("${this.name} is studying."); } }
@zuhaib40304 жыл бұрын
your videos do really help i crush my time behind this to gain knoledge instead of wasting behind video games comment checkers subscribe to smartherd
@kennedykennedy31335 жыл бұрын
thank
@Proviper6664 жыл бұрын
I wanted to find how to share one variable in all classes :(
@animeshbanerjee43795 жыл бұрын
we can write in that way without using *this keyword=> void main(){ var s1=S(); s1.id=115;s1.name='animesh'; print('${s1.id} and ${s1.name}'); s1.read(); s1.sleep(); } class S{ int id; String name; void read(){ print('$name is reading'); } void sleep(){ print('$id is sleeping'); } } The code is working so why we need *this keyword here . Please help me out ...I stuck here in oop concepts:-/
@animeshbanerjee43795 жыл бұрын
and one more doubt if we can initialize id and name in main function then why should we repeated the same in class ?
@kirangouds6 жыл бұрын
Why cant they just use Interface its so simple
@shivatiwari11275 жыл бұрын
👏
@rajkhanna30894 жыл бұрын
What is the use of this plz aek bar smja do hindi mai
@algeriennesaffaires70172 жыл бұрын
why you say perfetc too much?
@Quvothe Жыл бұрын
Updated code after null safety: void main() { var student1 = Student(); // One Object, student1 is the reference variable student1.id = 23; student1.name = "Peter"; print("${student1.id} and ${student1.name}"); student1.study(); student1.sleep(); var student2 = Student(); student2.id = 45; student2.name = "Sam"; print("${student2.id} and ${student2.name}"); student2.study(); student2.sleep(); } class Student{ int? id; String? name; void study(){ print("${this.name} is now studying."); } void sleep(){ print("${this.name} is now sleeping."); } } // After null safety you cannot introduce new variables like "String name;" without immediatly giving a value to it like String name = "Peter"; . To avoid this problem you can give a ? to the variable : String ? name; now dart knows that the value of the name variable CAN infact be null. I hope i could help!