Flutter Provider State Management | Master in 10 Minutes
Flutter provider state management using changenotifier and changenotifierprovider. We show how to make a basic app using provider state management package.
ππππSame app three versions Riverpod, BLoC and Getx. Check which one you like
https://youtu.be/NQnzDKQA2aE
πππ
At the same time we covered context.read(), context.watch()
We also learned how to create list inside provider and access the list in a route or screen.
Timeline
0:16 Install provider package
0:23 Introduce movie model for provider list
0:45 Generate data for Provider
1:03 Create provider using changeNotifier with list variables
1:48 Access providers variables in screen or page using context.watch()
2:37 Inject provider using changenotifierProvider, dependency injection
4:35 Declare a list for saving and removing inside provider
6:18 Read and add an item to provider using context.read and call add() method
6:47 Learn to use notifyListener()
7:25 Remove an item from provider list()
9:10 Find providers in a new screen or page or in a new route
Provider complete app
https://www.dbestech.com/tutorials/flutter-online-shopping-store-with-cart-provider-state-management
More about providers
https://www.dbestech.com/tutorials/flutter-stateprovider
Buy me a coffee
https://www.buymeacoffee.com/dbestech/e/79321
Buy a Macbook like me as I am using
https://amzn.to/3PsdUHW
Learn software programming with us step by step. Make money from home by learning programming
Complete e-commerce app
https://youtu.be/7dAt-JMSCVQ
Complete app for beginners
https://youtu.be/71AsYo2q_0Y
Firebase complete study app
https://youtu.be/ZSVnIphlGKI
Complete Gym App
https://youtu.be/1ENQHfNB9gM
Traveling App
https://youtu.be/x4DydJKVvQk
Learn to build an android and iOS app
https://youtu.be/svQOxQde0bg
Learn to build a video player app
https://youtu.be/OXQ5ee6p9ZA
Learn to build a website step by step
https://youtu.be/-nRB83GM-8g
Learn to build an ebook app
https://youtu.be/kTrbcb21ENU
Build an audio app step by step
https://youtu.be/CF3Q7YfvH7Q
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
LinkedIn @dbestech