Flutter ValueListenableBuilder Widget
Вставка
- Опубліковано 24 кві 2023
- This Tutorial will show you how to use the ValueListenableBuilder with flutter. To learn more about every flutter widgets, you can check our flutter playlist about all flutter widgets here: • Flutter AboutDialog Wi...
This was how to make and use the ValueListenableBuilder widget within your Flutter app
COURSES
Flutter courses (Beginner & Advanced): fluttermapp.com/
OVERVIEW
0:00 ValueListenableBuilder Flutter
MISSION
Our mission at Flutter Mapp (Flutter Mobile App) is to help purpose driven Flutter developers go full-time doing what they love and making an impact through coding. We achieve this with useful Flutter tips and straight to the point Flutter videos.
RECOMMENDED VIDEOS
Playlist of more than 200 Flutter tips: • 35 Flutter Tips That W...
Learn Flutter in 1 hour: • Flutter Tutorial For B...
Zero to Hero Flutter Course (Beginners): • Video
Hero to Pro Flutter Course (Advanced): • Video
EDITOR
Amaan Ansari: / amaan_0605
SOCIAL MEDIA:
Instagram : fluttermapp
Twitter : FlutterMapp
Website: www.fluttermapp.com
Discord Invite: / discord
CONTACT
For business inquiries email me here: info@fluttermapp.com
Website: fluttermapp.com
#FlutterMapp
#Flutter
thank you for the video!
What does child parameter do?
I think the package States_rebuilder uses this under the hood.
Very powerful stuff
When people do tutorials, it's important to first explain the differences between ChangeNotifier, statefull and ValueNotifier. When will you suggest using ChangeNotifier and not ValueNotifier, for example?
What benefit does using this provide over setstate?
setState rebuilds the whole widget tree. On the other hand using the value listenable builder rebuilds only the child with the new value
@Ziad Ahmed that's nice! Less redraws are always better
It also react to changes, we can return different widgets reactively
Hi there, how can I ensure that this number doesn't reset when I exit the application?
Check the new video on this channel (Data architechture). We use shared preference to save data locally 👍
@@FlutterMapp can you mention the link here ???
@@lumiplex404 check for sharepreference package. It will store data in your phone and will not get deleted unless you want so
But state management much stronger than this!