Flutter Riverpod Http Get Request Example | Fetch API State Management
Learn how to use Riverpod provider to fetch api data using http get request. We covered what is provider, what is futureProvider, what is ref.read(), what is ref.watch()
๐๐๐๐๐๐๐
Complete riverpod app
https://www.dbestech.com/tutorials/flutter-riverpod-course-selling-app
๐๐๐๐๐
Buy me a coffee
https://www.buymeacoffee.com/dbestech/e/79321
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
Timeline
0:00 Introduction
0:45 Create service class for riverpod
01:10 Install http plugin for riverpod
01:56 Create a model
03:59 Create Riverpod Provider. Understand riverpod provider as shared state
06:37 Create a futureProvider with provider for async request
9:00 Riverpod ref.watch() when to use
9:30 Use ConsumerWidget in the ui for riverpod state management
11:00 Use ref.watch() in the ui
11:25 Riverpod when() function with three states
14:15 Riverpod ProverScope()
More about it here
https://www.dbestech.com/tutorials/riverpod-http-get-example
Buy a Macbook as I am using
https://amzn.to/3AsvPKn
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