Flutter Tutorial for Beginners #16 - Stateful Widgets
Вставка
- Опубліковано 4 вер 2019
- Hey gang, in this Flutter tutorial we'll take a look at using stateful widgets as well as stateless ones. Stateful widgets are ones which can contain changing state / data over time.
----------------------------------------
🐱💻 🐱💻 Course Links:
Course files - github.com/iamshaunjp/flutter...
Android Studio - developer.android.com/studio
Git - git-scm.com/downloads
Flutter Installation - flutter.dev/docs/get-started/...
🐱💻 🐱💻 Other Related Courses:
+ Modern JavaScript Tutorial - www.udemy.com/modern-javascri...
Please don't stop this series until it's completion. I am following your flutter tutorial for the first time in your channel. and you teaching really well.
Thank you - many more videos in the series to come!
The Net Ninja my boy ninja is the man he won’t let you down trust and believe me
I tried learning flutter from various other sources and trust me, this is the only one that has helped me understand it for real
same!
totally agree man
totally agree
totally agree
Yeah! right? me too.
Last year, I wanted to learn Flutter, and I found a course that made it seem pretty hard. But after watching this playlist, I'm like OMG this is so easy. Can't t thank you enough, you're amazing. Keep up the good work.
Best teaching method ever found on UA-cam for this language, explaining step by step with full of detailing for each and every thing is really outstanding. You deserve 10/10 star.
I have gone through several flutter tutorials on UA-cam. You are the best! Precise - clear - no back and forth steps. Thank you!
Thank you!
I've seen other UA-cam series, but did not catch up anything until i see yours. step by step. very professional teaching skill.
Keep going Ninja
a great drinking game
drink a shot every time he says "Widget"
Seriously, this is one of the best-explained series available on youtube right now for a flutter
Hi, I was looking for a content which can learn Flutter with comprehension and this is obviously the best one. Thank you for creating such a great content.
Great Tutorial Bro! Thx a lot. I watched from the beginning to 16 without any break. You are the only one who taught this really well. I tried lot of other learning sources but it is hard. thx thx thx
Ah thanks, glad it helped! :)
The way you teach is a high level skill.... Professional and Easy to understand.
Very clear tutorials, please don't stop making flutter tutorials.
Thank you for the videos, they really helped me in understanding dart & flutter!
You deserve more views and subscribers for sure!
Keep up the good work :)
Nice work! To the point, and on an ideal pace. Congratulations on your videos, you've been very helpful.
Been around a lots of Flutter-tutorials (a real lot) But this series beats them all. Step by Step you get a better understanding of the language while developing an app with Flutter. I recommend 1.25 speed to save some time.
You are the best tutor I have ever seen
You simplify and tell us every details of every code
Wow
Am your biggest fan
you my friend are an absolute godsend when it comes to flutter
best series ever!! love every bit of this course
Thanks alot Ninja and please continue more with Flutter we really enjoy the lesson And made it easy for me more than my college lecture
The real flutter ninja. Very good explanation and easy to understand for a beginner like me. thank you ninja
Finally, state management explained in a good way!
Thanks for the tutorial! It has helped me so much in learning Flutter.
Fantastic video, thanks a bunch! Really helped me understand Stateful widgets.
i love how you tech dont stop keep teaching people
thank you im enjoying your course im 10 years old this is my first website i did games-boy.netlify.com this my first app im doing right now
Dude, you are the inspiring one :). At 10 years old you've got an amazing attitude. Keep at it and you will go far :).
Thats Great, your website looks very good.
Man this is just amazing, you are a great teacher.
We can update NinjaLevel without setState(){} but the effects will not be shown on screen ( build function is not triggered ).
We need to use setState(){} only when we need to update the screen or else use it without setState() for better performance.
you are really a great teacher ! finally m loving flutter
I think flutter have fixed the problem at 7:07 i didn't had to reload ...it took the value just after saving it
An actual beast! No one does it like you
Thanks for the tutorial Ninja
Tutorial is very well structured.... love it 😍
Thank you man, really appreciate this premium content
Excellent series Shaun, I've learned so much with just a few videos, you're a great instructor! Just had a couple of questions for you:
1) Why does a stateful widget need to be first returned as an instance of the state object and then returned to the app? Why isn't it just returned once like the stateless widgets?
2) All the styling we've discussed so far has been hard coded in terms of pixels. Isn't this bad practice for responsive design? How do we use percentage values for things like margins so that the app looks the same on all device sizes?
I came here to see difference between stateless and stateful widgets, I ended up viewing video tutorials from the start xD, dude dude... your really a great teacher
keep it up --> insta sub
you came searching for copper and you found gold?
Best flutter tutor out there, keep it up the real ninja
Congrats for 500K!! Well deserved
Thank you :)
Again amazing explanations, it is unreal!
4:58 - Quick way to convert stateless widgets into stateful widgets.
I saw this before I started this video. Good habit to read the comments first before watching a video
wow you are the best teacher I've ever seen, this was all gibberish to me before
Amazing Series, Thanks a lot!
This is the best flutter tutorial so far😃
Jesus Firstly i didn't knew Flutter, but when i saw u. All i gotta say is u opened my eyes to the Flutter World and Applications. You Provide so Simple Tutorials that Even a Caveman Can Understand even if he doesn't know About Coding. Very Good Tutorials
Great tutorials, thank you!
thanks for your incredible work!!
Love your tutorials
Scrolling down for bad reviews ...
LOL you've come to the wrong place 😂😂
This is legendary 🎈🎈
Nice tutorials bro! Keep up the good work :)
very specific in your explanation. thank you mister
thank you very much dode. this is great help
You teacher from the god! Even to me, poorly fluent in English, everything is clear
Thank you very much. His English is very simple and explanation is very easy to understand for people who are not good at English.
Thank you! 😃
The widgets he use in this video:
- StatefulWidget{}
- FloatingActionButton()
Learning soo much from you
Best tutorial thank you sir.
I finally found the video speed control browser extension. Now I can watch this at 3.5x speed. Good videos btw., I wish you made some flutter tutorials for programmers, without the explonacion of basic programing concepts, and using programming jargon. Would help a lot to get started with a new technology.
@traversymedia not even closer to such brilliant level of teaching and content!!!
best tutorial ever. I wish flutter wasn't so into nesting.
Superb explanation! Well done!
Can you please make a complete Udemy Flutter course for a few real-world projects? Your teaching is so great. Thank you so much man.
Thank you very much for your training playlist The Net Ninja
thanks Shaun forthe video.
Thanks Ninja
This is 👍, what a good explanation. Definitely subscribe
Awesome, thank you!
God bless you, my friend!
you are super great Sir
thankk you so much
Far better than paid tutorials .. take love . wo ai zhonguo, xin xin
Thank you so much!
Excellent.
Bro thank you very much
Nicely explained.
Mate, you are going to make me a lot of money.
OMG crystal clear
What if we make the floating action button stateful only? Is it works? If does, which way is better for clean coding and optimization? Thanks
Glad to be 1000th like!
great explanation of defalut project.....
This guy is genius.
Amazing teaching skills, Amazing!
Thank you! :) means a lot
For a bigger app, would it be better to just make the label and level a new stateful widget and keep the rest stateless so we don't rerender everything everytime we click the button ?
Hi, when I press the button the app is lagging. I'm running the app on an android 6 device. What could be the reason for the lag? Thanks
Do please make a part 2 of this tutorial but adavnaced version or a project i love ur series will lve to learn more💞💞
Wow! This is REALLY clear for me now. T - H - A - N - K Y - O - U ! ! !
Thank you Bro
Excellent Teacher!!1
Thank you! 😃
Could you make only the parts that change data and receive that data as stateful widgets? So the floating action button and the number would be stateful while the rest is stateless.
This is Better then paid course believe me guys .
Thank You .
Hi, I’m having trouble to use the shortcut to turn stateless to statefulwidget. Every time I do the shortcut it appears only “Adjust code style setting” can anybody help me? Thanks
I am not able to update my value in setState
though i used the code as same as you use.
brilliant
is the setState function rebuilding the whole thing? or is it only focusing on what needs to be updated?
i was gonna ask too, I'm thinking of creating just the widget that changes, into a stateful, surely that would work too
Ill just commemt THANKS for now. Will watch more definetly
Dunno if I missed something, but im unsure of why the floating action button 08:00-08:30, appeared in the bottom right? I thought, the way he wrote it, that it would appear underneath the app bar b4 the avatar.
By default, Floating Action Button always appears in the bottom right (in front of all content). Or if you want it in the bottom center, you can use FloatingActionButtonLocation.centerFloat
How to output a specific element in list in the Text Widget?
Excellent tutorials and very well explained. Question: If you are ONLY changing the ninjaLevel widget, shouldn't that be refactored so that it doesn't paint the entire screen and only the widget for ninjaLevel Text?
Hi, do you have any plan to update course? Flutter 2.0 is just arrived.
4:58 this action dose not work with just show (Adjust code style sitting).
god why are u so easy to understand 😍
😥 i will donate u as soon i am done with the project .. one day will come 😪 poor me can treat u for your kindness. and ive like subscribed. i really hope u become the best tutor available sir
Hey net ninja,
When i tried running the app with setState (with no error) the value of net ninja did not increase whyy? Pls help
The repo on github is not loading from tutorial 16 to the end
Can we just use ninjaLevel++ ? That worked for me as well
Sir in my case, I didn't had to hot restart, it automatically changed to the value! 🥺