For anyone who is confused around 21:30. They added a new keyword "late" in 2.12 which is now necessary to put before String and int under class User. Should look like this: late String username; late int age; Late means that the variable is not called until it is referenced for the first time
Flutter added a whole lotta new stuff with 2.0 including Null safety that doesn't let you initialize types with a null value. So if you wanna get rid of that, uncheck the Null safety feature in Dartpad in the bottom-left
A quick rundown on Dart basic types, classes, constructor functions and even inheritance. What a gold mine of knowledge inside a 30 min long video! Best Dart primer I've seen among all internet content, ever!
I think this video was before the 'late' keyword was released in dart 2.1. That is why I keep having errors in the class scope. In Dart, we use the late keyword to declare variables that will be initialised later. If you're having errors in 21:09 , just add 'late' before your two variables in the class scope. Thanks!
Definitely the clearest explanation about the basics of programming, even you are not into Flutter you can still watch this video to understand the logic of programming.
These videos are great. I come from 10+ years of writing Python and these videos are helping me understand syntax differences between Python and Dart. I feel like Im finally starting to have the ability to read Dart code without feeling lost in the syntax.
omg you've just explained what classes are to me in the most simplest way! I'm not a developer and found it so difficult to understand classes in Python and programming in general. Thank you so much :) best explanation ever. Im going through this dart/flutter playlist and Im loving it so far. Yes Im about 4 years late to the party :D
Glad it was helpful! :) thanks for watching, and don't forget to check out the latest Flutter crash course: ruclips.net/p/PL4cUxeGkcC9giLVXCHSQmWqlHc9BLXdVx
You are explaining in the simplest form .I dont think any one will be able to simplify than this.Even a person doesnt know basics of programming can understand .Thank you so much.
I know this is 4 years old, but just wanted to say that I've brute forced learning java and C# for Unity for a few years and no tutorial I've seen has explained the basics of coding as well as you have in this video. Things I've been told, like just writing like Void or adding to define the data type of a List, I've always just nodded as others have skipped over explaining what they actually do. This video alone has just made so many things I've memorized as necessary, but never understood, just click in my brain with comprehension. Thanks so much for making this series. Excited for the rest! Cheers!
Thank you very much. I started React with your videos. Now am almost an expert in React. Built a project using React and Relay Modern. Now I am starting my first steps in Flutter with you. Thanks again!
In all my years of programming, this 27 min video finally clarified the concepts of classes and objects for me. You're the real Ghost of Tsushima when it comes to programming and explaining things.
Going through this now in 2021 and noticing for part 3 that the User Method Function doesn't work unless you make the String and int nullable by adding a ? after String and int. Apparently this is because Dart 2.12 introduced Null Safety. Figured I'd comment since I ran into this problem and this was how I solved it to get the same results.
I'm kind of a beginner to programming, but this Explanation made me (maybe the first time) REALLY understand classes, functions and constructors. Thank you very much!
This tutorial is the clearest and simplest way of learning Dart! I came here with no prior knowledge of DART whatsoever, and I have been left with a complete understanding of all its core concepts! It's amazing! Props to The Net Ninja!
This is one of the best explanations i found on this subject. Something i was looking for a long time. Though the syntaxes are different, the basic concept is valid for all Programming Languages. Thank you sir
You are the BEST programming basics teacher. I've literally watched Udemy courses, watched dozens of Kotlin and C tutorials, and I thought programming just wasn't for me. Until you explained instancing classes and this. parameter in 6 minutes, perfectly.
im gonna save you some time: 0:00 Disclaimer 1:38 Types 5:58 Functions 9:45 Comments and Arrow Functions 10:43 List (like arrays) 13:05 Typed Lists 14:15 Classes 21:40 Inheritance
Before watching this video, I feel like dart is quite complicated unlike Python, although I'm just a beginner in programming. I've watched a few videos, and I finally come to your channel. You are different! You used powerpoint presentation, and you used 'chun-li', these details make a huge difference in the view of the audience.
i studied with Udacity for 9 months and they drove me crazy till today i didn't have a clear understanding of classes, now its my first time to be able to understand classes and constructors, Sir you are a master, my Allah Bless you, all your courses are the best thing i discovered in the web, cant thank you enough.
Great video. The one thing I'd say is that it's slightly confusing to use Super in the name of the inherited class, because it made it seem like the "super" method was one that was specific/related to SuperUser, not a method which is used in all of Dart
Naming the inheriting class SuperUser might be confusing to those who are unfamiliar with the super(params) concept. Therefore this: you can make class Admin extends User{ ...members /*and still have to use*/ Admin(...):super(params)...; } I hope this was helpful :)
You are too good dude...... Thanks a lot!!!!!! keep helping people like this... I learnt React from You... React Native from You.... Now Flutter..... You're my guru dude.
hearty thanks from me for explaining about flutter . It is helping me realise my goal of pursuing a carees relate to computer science and also thank you so very much for providing this quality content for free
Everybody's comments here how they understood classes is discouraging to me because I have tried to learn them before in Python, and didn't understand then, and sadly I didn't understand now either, even though it was very clearly explained. It makes me feel stupid :( But no problem. I probably have to get Class concepts from books and take it in my own pace. I get it eventually. Your tutorials are probably best I have seen. Clear, fast, high quality screen capture and audio. Something that is hard to get even from commercial sites like Udemy. Thumbs Up.
If you learn dart after learning Java properly, not only you will say this is the best and easiest video explaining DART but also you will say how easy this language is compared to Java.
Awesome explanation-skills! I am not new to programming, but this right there was without any doubt the cleanest explanation of this topic. I realised the comment section agrees on that
You are amazing, I just discovered your channel and I am really excited to see how well are you explaining everything about Flutter in your video tutorials, Big thanks from me!
This is the first I've seen of Dart and I'm liking it a lot so far. It's like the perfect blend of C++ and JavaScript. Regular JavaScript classes (uhh... I mean, functions?) are confusing as hell.
thank you so much for this even tho you said that you need a basic understanding of classes you still did explained it really well and i know understand how to use classes !
I know it's not an OOP tutorial, but it's kind of a pet peeve of mine to see object classes that have methods that call print()... Other than that everything is perfectly explained. You're the best...
I just want to reiterate what everyone else is saying and tell you that you are very good at explaining classes and constructors. I am learning Dart because I want to make an Android app, but even when I was learning C++ in class my teacher never did as good a job as you in explaining classes, objects and constructors.
Nice introduction overall, but I had somehow expected this to be a dart primer for people who know about programming after I watched the previous video. I haven't thought this long about "void" for at least 10 years :D
In my opinion, I believe the User class should be called SuperUser and vice versa. Anyways, it's the fantastic and clearest coding tutorial I ever saw about classes on RUclips. Keep it up, man! Your Channel rocks. Love from India 💖
Hi , Hope your are fine. I want to suggest you a Course on Flutter, Because Everything is explained very Clearly and Simply in this Course. if you also think that flutter is future of mobile and also looking for a course this will be best course for you if you are a beginner in flutter. Cost of this Course is $35 USD , But Using Above Coupons you can buy it onlt at $9 USD. Please use below URL of below Coupons when you will buy this Course. www.udemy.com/course/flutter-complete-ui-android-ios-web/?couponCode=907FD1B1528168EA163E www.udemy.com/course/flutter-complete-ui-android-ios-web/?couponCode=550FDCD7063F1D2BAD2E Both Coupons will expire in in 1 day , So Hurry Up.
A void method can use return key word, to exit the program or to terminate the program void say_hello(){ int num = 10; if( num != 10){ return; } print( num ); }
0:00 Disclaimer
1:38 Types
5:58 Functions
9:45 Comments and Arrow Functions
10:43 List (like arrays)
13:05 Typed Lists
14:15 Classes
21:40 Inheritance
You're a good man
thx
thx (:
Thank you, pinned :)
Hey thanks for this
This is the clearest demonstration of classes and constructors in all of recorded history.
Never understood classes until this tutorial
100% Agree.
True. This is the most clearest explanation.
He is a extreme prodigy
agreee
For anyone who is confused around 21:30. They added a new keyword "late" in 2.12 which is now necessary to put before String and int under class User. Should look like this:
late String username;
late int age;
Late means that the variable is not called until it is referenced for the first time
thanks!
thank you
Tak :)
thanks bro
Bless you bro I've been stuck here for half an hour your comment saved me from giving up
The fact that you put out this level of quality content for free is mind-boggling to me
I have to agree with the poster... I recalled learning about classes back in 1995 and you explained it like i learned it back then
Net Ninja: declares that he won't explain the basics of programming
Also Net Ninja: explains the basics of programming
LOL
Right? :)
Ikr
i know right
😂
I've been a c++ and java guy for two years, and it feels like that dart is just a baby of both. And the way you explained it, felt damn easy.
well, right
The best demonstration of classes and constructors on youtube. And the best accent, too.
Please keep the good work on.
Yeah! Man. It's so clear. (Accent)
Flutter added a whole lotta new stuff with 2.0 including Null safety that doesn't let you initialize types with a null value. So if you wanna get rid of that, uncheck the Null safety feature in Dartpad in the bottom-left
THANK YOU!
This should be pinned.
THANK YOU! Please get this comment to the top
You saved my day :}
THANK YOU SO MUCH!
The video is 27 minutes but feel likes its omly 2 minutes ...you are really a ninja in tech...awesome class explanation
A quick rundown on Dart basic types, classes, constructor functions and even inheritance. What a gold mine of knowledge inside a 30 min long video! Best Dart primer I've seen among all internet content, ever!
I think this video was before the 'late' keyword was released in dart 2.1. That is why I keep having errors in the class scope. In Dart, we use the late keyword to declare variables that will be initialised later. If you're having errors in 21:09 , just add 'late' before your two variables in the class scope. Thanks!
thank you... was driving crazy
You are extremely eloquent, my friend! Clear and concise. Very excited to see where this course goes!
Thanks Will :)
I've never seen anyone explaining about classes, method and inheritance this much clearly. 👏👏👏👏
Definitely the clearest explanation about the basics of programming, even you are not into Flutter you can still watch this video to understand the logic of programming.
These videos are great. I come from 10+ years of writing Python and these videos are helping me understand syntax differences between Python and Dart. I feel like Im finally starting to have the ability to read Dart code without feeling lost in the syntax.
omg you've just explained what classes are to me in the most simplest way! I'm not a developer and found it so difficult to understand classes in Python and programming in general. Thank you so much :) best explanation ever. Im going through this dart/flutter playlist and Im loving it so far. Yes Im about 4 years late to the party :D
Glad it was helpful! :) thanks for watching, and don't forget to check out the latest Flutter crash course: ruclips.net/p/PL4cUxeGkcC9giLVXCHSQmWqlHc9BLXdVx
You are explaining in the simplest form .I dont think any one will be able to simplify than this.Even a person doesnt know basics of programming can understand .Thank you so much.
I know this is 4 years old, but just wanted to say that I've brute forced learning java and C# for Unity for a few years and no tutorial I've seen has explained the basics of coding as well as you have in this video. Things I've been told, like just writing like Void or adding to define the data type of a List, I've always just nodded as others have skipped over explaining what they actually do. This video alone has just made so many things I've memorized as necessary, but never understood, just click in my brain with comprehension. Thanks so much for making this series. Excited for the rest! Cheers!
Best Coding Tutorial I have ever watched, and one of the few that is spoken in clear english!
Glad it was helpful! :) thanks for watching
Dude, this intro was loaded, I understood very well mixing my arduino-c++ and JS coding skills,
Again thanks this series.
Greetings from Tanzania 🇹🇿
Thanks Raymon :D
dart is so much like c++
@@HK-sw3vi and C#
More like java
@@mohamedmusamustafa3324 it feels like a mixture of C++ and python to me. Similar syntax to C++ yet easy to learn
you simplified the class and object topic so smoothly and so easity. great tutorial
i started in ionic and its a hardcore learning curve on every tutorial ive watched. while this one is so step by step THANKS A LOT.
Thank you very much. I started React with your videos. Now am almost an expert in React. Built a project using React and Relay Modern. Now I am starting my first steps in Flutter with you. Thanks again!
In all my years of programming, this 27 min video finally clarified the concepts of classes and objects for me. You're the real Ghost of Tsushima when it comes to programming and explaining things.
How did you manage to program without understanding these basic concepts?
Can you please help me I just want to start programming 😢👋
Going through this now in 2021 and noticing for part 3 that the User Method Function doesn't work unless you make the String and int nullable by adding a ? after String and int. Apparently this is because Dart 2.12 introduced Null Safety. Figured I'd comment since I ran into this problem and this was how I solved it to get the same results.
You can also add late before string and in as in: "late String username". "Late int age"
OMG TYSM, I WAS TRYING TO FIX THIS FOR AN HOUR!
thank you!
omfg thank youuu
@@moroniafrifa614 tysm man
I'm kind of a beginner to programming, but this Explanation made me (maybe the first time) REALLY understand classes, functions and constructors. Thank you very much!
Hey 👋
This tutorial is the clearest and simplest way of learning Dart! I came here with no prior knowledge of DART whatsoever, and I have been left with a complete understanding of all its core concepts! It's amazing! Props to The Net Ninja!
That's great to hear Steve :) glad it was helpful! Thanks
This is one of the best explanations i found on this subject. Something i was looking for a long time. Though the syntaxes are different, the basic concept is valid for all Programming Languages. Thank you sir
You are the BEST programming basics teacher. I've literally watched Udemy courses, watched dozens of Kotlin and C tutorials, and I thought programming just wasn't for me. Until you explained instancing classes and this. parameter in 6 minutes, perfectly.
That means so much :) thanks Kofa!
This is first foreigner ....who is teaching like everyone can understand...🙌🏼 Thanks sir...
This is awesome. I believe this should be a standalone dart crash course. Really helpful.
My flutter installation was successful, and all the checks passed. Now I can finally follow this tutorial and code 🎉
im gonna save you some time:
0:00 Disclaimer
1:38 Types
5:58 Functions
9:45 Comments and Arrow Functions
10:43 List (like arrays)
13:05 Typed Lists
14:15 Classes
21:40 Inheritance
Cleared most of Classes and Objects concepts in just few minutes. JazakAllah! Nice content!
i love the way he is providing all of this for free, when he could actually make us pay for such a quality teching! thankyou so much
it's kind of beautiful how intuitive this is
I'm here to say I've never understood classes and constructors until now ! i had that aaaaah moment when everything becomes clear ! thank you !
That's great to hear Koubeen :) thanks for watching!
This helped me so much not only with learning to use flutter, but also with my understanding of object oriented programming in general. Thank you!
Before watching this video, I feel like dart is quite complicated unlike Python, although I'm just a beginner in programming. I've watched a few videos, and I finally come to your channel. You are different! You used powerpoint presentation, and you used 'chun-li', these details make a huge difference in the view of the audience.
Great to hear! :) glad you enjoyed it.
@@NetNinjait's been 4 years since you posted this tutorial. Are all the concepts taught in this tutorial still applicable today??
Very clear tutorial, I will remember how you explain classes and constructor and use it when someone wants to understand those topics
Really, that’s the first time ever I really, REALLY understood classes. Thanks a lot
Awesome! Thanks for watching :)
OMG! Ahh... The nostalgia.
Feels so good to see c++.
The first proglang i took and fell in love right away.
This is just C++ programming in C syntax. Great explanation.
i have never seen a teacher like you. thank you. wow wow wow
You are an excellent teacher. You should be teaching in universities across the world.
i studied with Udacity for 9 months and they drove me crazy till today i didn't have a clear understanding of classes, now its my first time to be able to understand classes and constructors, Sir you are a master, my Allah Bless you, all your courses are the best thing i discovered in the web, cant thank you enough.
Thanks so much :)
2 YEARS IN MAJORING IN INFORMATICS ENGINEERING DONT KNOW WHAT TO DO WITH CONSTRUCTOR. THIS 30 MINUTE VIDEO MAKE IT CLEAR... damnnn
The amount of detail you put in a short video... Man thas dope...
Great video. The one thing I'd say is that it's slightly confusing to use Super in the name of the inherited class, because it made it seem like the "super" method was one that was specific/related to SuperUser, not a method which is used in all of Dart
Naming the inheriting class SuperUser might be confusing to those who are unfamiliar with the super(params) concept. Therefore this: you can make
class Admin extends User{
...members
/*and still have to use*/
Admin(...):super(params)...;
}
I hope this was helpful :)
less than 30 minute, very clear,
it's gold
i was never able to understand the role of constructor before . thank u , u r the best ......... i m in ur debt
You are AMAZING!
They way you teach basics of classes is simply PERFECT!
The best and the simplistic tutorial I have ever come across. Thanks a lot!
the way of EXPLAINING is very-very cool, awesome. Precise and to-the-point. Loving it.
For the first time, I understood class completely.
Thanks for this free tutorial. :)
the simplest and the best dart class video ever. Great!
i had to pause this video to take a moment to write this comment, great stuff man thank you very much for providing such premium content for free.
Omg.. I've been struggling to understand class in Javascript and php. This is the first time it all make sense. Thanks a lot!
You summarized two months of Object Oriented Programming at my college in one video. Thank you
easily the best series I've seen on flutter and dart, wow
Hey please can we be friends I need someone to teach me this
Excellent tutorial. I just learned dart basic in just 30 mins. thank you very much for this awesome tutorial.❤️
I just can't believe that you will start this series. I'm expecting a fully functional app after this beginner series. Thanks for quality content
Watching this at 2.5x because it is quite similar to java. Very nice refresher.
You are too good dude...... Thanks a lot!!!!!! keep helping people like this... I learnt React from You... React Native from You.... Now Flutter..... You're my guru dude.
hearty thanks from me for explaining about flutter . It is helping me realise my goal of pursuing a carees relate to computer science and also thank you so very much for providing this quality content for free
Your accent makes it easy to understand for the people all around the world
Everybody's comments here how they understood classes is discouraging to me because I have tried to learn them before in Python, and didn't understand then, and sadly I didn't understand now either, even though it was very clearly explained. It makes me feel stupid :( But no problem. I probably have to get Class concepts from books and take it in my own pace. I get it eventually.
Your tutorials are probably best I have seen. Clear, fast, high quality screen capture and audio. Something that is hard to get even from commercial sites like Udemy. Thumbs Up.
If you learn dart after learning Java properly, not only you will say this is the best and easiest video explaining DART but also you will say how easy this language is compared to Java.
Awesome explanation-skills! I am not new to programming, but this right there was without any doubt the cleanest explanation of this topic. I realised the comment section agrees on that
You are amazing, I just discovered your channel and I am really excited to see how well are you explaining everything about Flutter in your video tutorials, Big thanks from me!
Thanks Michael :)
Fantastic run through for programmers who need a brush up!
This is the first I've seen of Dart and I'm liking it a lot so far. It's like the perfect blend of C++ and JavaScript. Regular JavaScript classes (uhh... I mean, functions?) are confusing as hell.
thank you so much for this even tho you said that you need a basic understanding of classes you still did explained it really well and i know understand how to use classes !
This is one of the best "Learn how to code" tutorials I've seen,
Thanks :)
This is the overview of Dart in 27 minutes video. Thank you!
This is the most amazing intro to a course I've ever been in
I love watching ads, specially if the content is this good!
Download Opera Gx browser, u can watch the RUclips without ads
I never thought Dart is so easy. i just finished learning in this single video.. Thanks & lot & All praise is due to Allah.
Hey, Shaun! You are already a legendary net-ninja. Thanks for you being around us.
Much Love from Kenya..Its a great Joy to find your tutorials.
The best Tutor so far ,........even relevant to other languages
Best explanation i saw so far on programming..❤️ Love from nepal.
I know it's not an OOP tutorial, but it's kind of a pet peeve of mine to see object classes that have methods that call print()...
Other than that everything is perfectly explained. You're the best...
Thank you so much for such clean and clear tutorial over Dart. Really Appreciated.
this is fantastic explaination,. great for even c++ or java students to grab the concept of classes and inheritance
I just want to reiterate what everyone else is saying and tell you that you are very good at explaining classes and constructors. I am learning Dart because I want to make an Android app, but even when I was learning C++ in class my teacher never did as good a job as you in explaining classes, objects and constructors.
Thanks so much :)
Timeline index:
1:06 Dart Pad
2:10 Variables
5:11 Dynamic variables
6:00 Functions
10:41 List
14:18 Class
19:03 Constructor
21:34 Inheritance
I rarely comment on videos, but your explanation is too good to not thank for it.
Thanks for your effort
Thanks for your feedback :) really glad you are enjoying the tuts :)
wow, honestly amazing video, managed to cover the first year of uni in 30 mins xD
Nice introduction overall, but I had somehow expected this to be a dart primer for people who know about programming after I watched the previous video. I haven't thought this long about "void" for at least 10 years :D
In my opinion, I believe the User class should be called SuperUser and vice versa. Anyways, it's the fantastic and clearest coding tutorial I ever saw about classes on RUclips.
Keep it up, man! Your Channel rocks.
Love from India 💖
I just subscribed to your channel at "999k" and it turned to "1M" right after. Congratulations!
i thank God i learnt java, so super easy to follow along...
Hi ,
Hope your are fine.
I want to suggest you a Course on Flutter, Because Everything is explained very Clearly and Simply in this Course.
if you also think that flutter is future of mobile and also looking for a course this will be best course for you if you are a beginner in flutter.
Cost of this Course is $35 USD , But Using Above Coupons you can buy it onlt at $9 USD.
Please use below URL of below Coupons when you will buy this Course.
www.udemy.com/course/flutter-complete-ui-android-ios-web/?couponCode=907FD1B1528168EA163E
www.udemy.com/course/flutter-complete-ui-android-ios-web/?couponCode=550FDCD7063F1D2BAD2E
Both Coupons will expire in in 1 day , So Hurry Up.
Best Flutter Tut in RUclips by far. Loving every second of it
Thank You :)
That is almost a copy of Java language. Thank you Shaun 👍
java and javascript had child dart
Excellent video.Very necesssary elemetns explained before starting flutter
Glad it was helpful! :)
This is why I love your stuff everything here is good
This is so good, I am learning just by following the audio. Superb!
Great to hear, thanks Mo!
A void method can use return key word, to exit the program or to terminate the program
void say_hello(){
int num = 10;
if( num != 10){
return;
}
print( num );
}