Dart Class, Objects, Constructors, Instance & Field Variables examples. Dart for Flutter #8.3
ฝัง
- เผยแพร่เมื่อ 15 ต.ค. 2024
- Access 7000+ courses for 15 days FREE: pluralsight.px...
Dart flutter tutorials. Summary of what we learned about Class, Objects, Constructors, Instance variable, Reference variable, field variable and various types of constructors such as Default constructors, named constructors and Parameterized constructors.
Next Video : • Dart GETTER and SETTER...
Previous Video : • Dart Constructors: Def...
Code Files: bit.ly/2xae4OD .
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)
Patreon: bit.ly/patreon...
Paypal/Payoneer: sriyank123@gmail.com
UPI (only for India): smartherd@okaxis
:: If you want to develop a website or a mobile app, email me your requirement at sriyank.siddhartha@gmail.com :: Free demos provided beforehand ::
Access my premium courses: bit.ly/sriyank...
Free Programming courses:
Ruby Programming: bit.ly/smyt-r
Dart Programming: bit.ly/smyt-d
Kotlin Programming: bit.ly/smyt-k
Java Programming: bit.ly/smyt-j
Kotlin Coroutines: bit.ly/smyt-coru
Free Flutter course:
Flutter App Development: bit.ly/2Rg7EFR
Free Android courses:
Android using Kotlin: bit.ly/smyt-ka
Android using Java: bit.ly/smyt-ja
Android Material Design: bit.ly/2SMJqU6
Android Jetpack Architecture: bit.ly/yt-j
Android Multiple Screen Support: bit.ly/smyt-mss
Android Retrofit: bit.ly/2Ee6GHn
More free programming courses:
bit.ly/smy-list
Check out my website:
bit.ly/smartherd
Let's get in touch! [Sriyank Siddhartha]
LinkedIn: bit.ly/sriyank...
Facebook: bit.ly/smarthe...
Instagram: bit.ly/sriyank...
Twitter: bit.ly/sriyank...
Github: bit.ly/smarthe...
--- Thank you for your love and support ---
Excellent, I am loving this series, I will stick with you for flutter as well.
the best Thing in your Tutorials is ==> all your videos is short and well explained :)
That was perfect. Breaking down the concept into 3 videos and then including this summary video was an excellent idea. Thank you very much for all effort.
This is the best course ever in functions and classes, excellent explanation with simple language and to the spot examples, thanks a lot to Smartherd for teaching everyone how to code.
Excellent, bro. I altogether with you
In Dart is there no concept of public and private class members?
Still having a bit of confusion in understanding this class and constructor concept, Can you help me in understanding the same a bit more elaborately. That would be a great help.🙂
Hey Siddharth, Can you help me in understanding this concept.
Hi,
Please mention details about the parts you are having confusion. Adding details will help in answering your questions better.
Basic summary:
Classes help in representing and describing a real world thing in the program.
The properties of the real world thing are represented as either instance variables or class variables(static variables which are shared by all objects of the class) and the behavior is represented as methods(also called as functions).
Constructors are executed when a new object of that class is created.
One of the most common use case of constructors is to set values to the instance variables.
@@saisasisai practice it by coding, it helped me a lot. here are 2 questions which pretty much covers whole of class and inheritance concept too:
1. create a student mark, grade calculation application. create student class and marks class separately. you can also store these in file for permanent storage, that would be a practice for files concept.
2. create an application for a bank. creating account, adding money, withdrawing money, password management also.
these are the ones I practiced in school which helped me a lot. No. 1 was my investigatory project in C++ for class 12
awesome brother
whats the use of a named constructor? sorry if it is a stupid question
my guess would be to have specific behaviors
Thanks man
Thanks you so much sir g
Grt lectures 👌
you're awesome
Thanks
Where Annapurna?
Constant Constructor is not given
wow
👌👌👌
Sookr sookni ...like you got it,✌️✌️😂😂😂😂
So, literally we can say that Objects are Constructors.
objects are initialized using constructors