Flutter setState Example | Passing Data between Classes

Published: 27 April 2021
on channel: Learn Flutter with Me
19,372
562

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 Provider 5 changeNotifier Example ...  

#flutter #learnflutter

Instagram:
instagram.com/learnflutterwithme

Stuff I use for this channel (Affiliate Links)

SanDisk 1TB SSD https://amzn.to/3j1U8py
Elgato Cam Link 4K https://amzn.to/37EyqBK
Logitech G600 Mouse https://amzn.to/36DYFYz
Logitech G Pro Keyboard https://amzn.to/3saco38
Macbook Pro M1 13" https://amzn.to/36GzbKc
Neewer Mic Arm https://amzn.to/3z7RvIm
Davinci Resolve https://amzn.to/3erEb9I
Adobe Photoshop Elements https://amzn.to/3BkPKth


On this page of the site you can watch the video online Flutter setState Example | Passing Data between Classes with a duration of hours minute second in good quality, which was uploaded by the user Learn Flutter with Me 27 April 2021, share the link with friends and acquaintances, this video has already been watched 19,372 times on youtube and it was liked by 562 viewers. Enjoy your viewing!