Рет қаралды 18,275
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 cha...
#flutter #learnflutter
Instagram:
learnflutterwithme
Stuff I use for this channel (Affiliate Links)
SanDisk 1TB SSD amzn.to/3j1U8py
Elgato Cam Link 4K amzn.to/37EyqBK
Logitech G600 Mouse amzn.to/36DYFYz
Logitech G Pro Keyboard amzn.to/3saco38
Macbook Pro M1 13" amzn.to/36GzbKc
Neewer Mic Arm amzn.to/3z7RvIm
Davinci Resolve amzn.to/3erEb9I
Adobe Photoshop Elements amzn.to/3BkPKth