Flutter setState Example | Passing Data between Classes

preview_player
Показать описание
In this video I discuss passing data between Classes using setState, specifically passing variables back to the parent statefulWidget in a somewhat simple Flutter example.

Chapters:
0:00 Intro and initial setup
1:42 Adding MaterialApp,Scaffold and AppBar
3:35 Adding an ElevatedButton
4:25 setState inside the same Class
5:22 Testing with multiple ElevatedButtons in same Class
6:14 replacing the ElevatedButtons with a Custom Button
8:30 passing variables across Classes

Video on Provider 5 and changeNotifier

#flutter #learnflutter

Instagram:

Stuff I use for this channel (Affiliate Links)

Рекомендации по теме
Комментарии
Автор

Did the diagrams help? And did I use the word "Redundant" correctly? haha! Would love to hear your thoughts!

LearnFlutterwithMe
Автор

very good example for callback, thanks

gideonmair
Автор

The way you explained everything from the basic level is awesome.

muhammadali
Автор

amazing. Great way of expression thanks

Mujhaid-Muslim
Автор

Really liked you video because of the simplicity of your explanation, as a beginner it's really helpful.

muhammadali
Автор

exactly what i wanted thankyou
best explanation for callback functions

sydneygomes
Автор

Don't normally comment but want to help your ranking in the yt algo. Thanks for the great tutorial!

lostapple
Автор

You voice takes away half the stress I built through watching videos of other flutter related channels.

danieltrump
Автор

I like your videos a lot, thanks for your time....

program
Автор

true OG for typing all the code by hand

animetaste
Автор

I like the way you are teaching, short and brief to the point. Easy to understand. Thank you very much.

ngcheechuen
Автор

Your videos are greatly detailed. Love the way you explain thoroughly.

Mahanmarwat
Автор

Thank you for the great lesson. Clear and simple but very effective!

Tom-entc
Автор

Great tutorial. Very clear explanation and on point. Also your diagram is a big help to understand what's happening.

josephmelbaleyos
Автор

Wow, very knowledgeable tutor, this video is just perfect, many thanks.

djjavvystark
Автор

Great tutorial. Finally a video that is simple and easy to understand. You are a great teacher. My only suggestion is to change the 'clicking' sound, it's too harsh and distracting.

klent
Автор

Thank for video, you one of best in explanation who i saw!

granchik
Автор

This video was so amazing...Thanks a lot...I'm from Brazil!!!!

higorgustavobarbosadasilva
Автор

this is more explanatory. will like you to do a full course on Getx state management.
once again you are indeed a genius (nothing like auto complete throughout the video )

eniolaadeniyi
Автор

I watched and he never used autocomplete. What a genius!

yawsampenebuadu