Flutter Riverpod Http Get Request Example | Fetch API State Management
HTML-код
- Опубликовано: 13 июн 2024
- 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()
😇😇😇😇😇😇😇
Your Riverpod Bible is here
www.dbestech.com/tutorials/fl...
🔥🔥🔥🔥🔥🔥Flutter Riverpod tutorial
www.dbestech.com/tutorials/ri...
And (Riverpod advanced course)
www.udemy.com/course/flutter-... @dbestech
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
www.dbestech.com/tutorials/ri...
Buy a Macbook as I am using
amzn.to/3AsvPKn
Learn software programming with us step by step. Make money from home by learning programming
Complete e-commerce app
• Flutter E-commerce App...
Complete app for beginners
• Flutter 3.10.0 Master ...
Firebase complete study app
• Flutter Firebase Maste...
Complete Gym App
• Flutter Gym App | BloC...
Traveling App
• Flutter Master Class T...
Learn to build an android and iOS app
• Flutter App Developmen...
Learn to build a video player app
• Flutter Video Player T...
Learn to build a website step by step
• Complete Flutter Web A...
Learn to build an ebook app
• Flutter Backend | Flu...
Build an audio app step by step
• Flutter Audio Player T...
⏫⏫⏫⏫🔥🔥Bloc advanced code(e-commerce app)
• Flutter Production Rea...
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥Riverpod advanced code🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
• Upcoming Riverpod E-co...
☞☞☞🥰🥰🥰Single vendor food app
• Flutter E-commerce App...
Twitter @dbestech
Instagram @dbestech
What's app @dbestech
LinkedIn @dbestech
Facebook @dbestech - Наука
It is the simplest and most well explained way I have found, thank you very much. Greetings from Mexico
This helped me improve a lot with Riverpod, thank you so much!
Very simple to understand example. Thank you for sharing!
Glad it was helpful!
thank you so much, it's been 3 days i've been trying to understand riverpod workflow, i've watched multiple tutorials hours long but didn't get it until you used it in a real-life example using API
I LOVE YOU MR. YOU HELPING ME!!!!
Awesome Riverpod video! Had no idea you could use it in this way, I usually just made a regular list lol Thanks for the Flutter content!
You are most welcome
Extremely good info. Thanks!
Glad it was helpful!
Thank you this was straightforward
Thanks a lot. LIke and share
great tutorial, please can you also do for post, delete and put request with riverpod also.
Best explained video out there! Thanks
You're welcome!
Great timing :-) thanks!
Perfect!
Thank you very much, master 👏
You are very welcome
need more Riverpod tutorials
thank you, very perfect tutorial
You're welcome!
Very good!! Thank you!
Thank you too!
May allah rewards you ,
It was best
like and share
Olá! Você pode terminar este crud, fazendo um post update e delete?? A didática do vídeo é muito boa!
thank you very much.
You are welcome!
Sir when new keyword creates an object and then the constructor is called to Intialize the object. Right after that a reference to that object is returned by dart and then we can store that object in a separate reference variable like:
new User() ;
after the execution of new User(), dart returns a value of type User which is the reference to the created object in heap memory. Am I right?
gracias. muy útil
You are welcome
Great tutorial.. awesome
Thank you! Cheers!
good thanks
thank you dbestech !
This example is helpling me a lot. Anyway, I am wondering how we do if the rest call is dependent of another state in the app, let's say that we select a User and for details screen we need another extra call for "User Friends" something like this. Then, how we manage to do that without creating a NEW provider for each users?
This "silent zoom"... Nice touch
thanks
dear brother thanks a lot for the clear explanation this is amazing state now I love Reverpod.
Thanks, I'm using MVC+S and I have a problem that I don't know how to work with providers while I have a controller, is there any resource about it?
This is Awesome, i have a question btw.. what if the list is changing so i have 3 list then there is data incoming from backend so now the list is 4. how to make provider doing the calls again so everytime i wont miss a list at all..
Bro i got some error - Expected a value of type 'list dynamic ' but got one of type '_null ' how to resolve it
Lovely sir
Welcome
great
How you will manage loading whenever you will work with post method?
Wslm Jazakallahu khairan
more Riverpod tutorials please :)
wha'ts in your mind?
@@dbestech post, delete, get
@@theifeanyi you mean make tuts for all these ?
@@dbestech yeah I was just showing my friend this video you made for get method using RiverPod and it'll be great to learn all these other methods as well
@@theifeanyi sure. Coming soon
Sir can a Xcode simulator created on VM MacBook be used in android studio in windows?
Walaikum salam bro.
Like and share please
Please make video, CRUD Riverpod. Thanks
Thanks, I will
sir why provider please make some basics videos on provider or make a big project on provider
Will this update the data as soon as the json file gets updated?
Jump in the directory creation to force us to pay for the code, very smart guy, for this reason I drop your course on Udemy besides its very bad course
I am sorry if you feel like that. God bless us all. Take care brother.
Please make video, Flutter on methodchannel invoked method, hander, passing data on both sides, native notification button call dart fun, evenmethod
make poll and the check the subscribers vote which state management take more vote and start series on that
how can i do post request with riverpod
Hello sir..i have done a riverpod tutorial sir..i found that provider is necessary for riverpod.so eventually have to be good in provider..whereas i know provider is somewhat similar to getx..so a provider full app would be cool.
Hi Karki, riverpod provider is different that provider provider. Yes, the other provider is somewhat similar to getx Getbuilder
@@dbestech well sir it uses provider,future provider and stream...that may have confused me.
@@angelkarki2963 yes, it does. It looks like provider. But it belongs to Riverpod
Sir use source code pro or Trispace font style in your Android studio that will be more readable
ok. good idea, I will use that next time.
Is firebase enough for back end to start freelancing using flutter?
Nope. If you want freelancing, you need to provide backend to clients. Clients need app backend. PHP Laravel is best backend for freelancing.
Nice Sir.Sir I have hp laptop core I5 4th Gen,8GB Ram,256 GB SSD.I want to run flutter app on ios virtual device.Can I do that.?
If not,can I install virtual MacBook With These specifications.Please Guide.It's really important to know for me.I have learned flutter and it's about getting started with freelancing.Your guidance in this regard can of great help
Hi Faisal, you should install vmware on your windows machine. then you would install mac os on that. But 100% successful installation depends on the hardware as well. docs.vmware.com/en/VMware-Fusion/12/com.vmware.fusion.using.doc/GUID-474FC78E-4E77-42B7-A1C6-12C2F378C5B9.html#:~:text=You%20can%20install%20Mac%20OS,optimize%20a%20virtual%20machine's%20performance. is the link that may help you
What is the best library for http request and for stage?
I always use http pacakge. I find it's great.
bro we are waiting for next part of ecommerce App part 8
Coming soon
Thanks for this video tutorial. where can I download the source code please?
You should pay for, this is the trick
Salam Aleikum sir, is everything good?. Sir, please do tutorial about infinite scroll Listview with laravel and http get request. Thank you for all, sir
Thanks. I am good. But I already have one this in the e-commerce app. Did you check that out?
@@dbestech thanks sir, I find that tutorial. You are the best 🔥
Can u make a pagination video with riverpod bro
yes, I will
Uaaleykumassalam
Thanks
May be you can make some big projects in react native.
Sir...can you please provide source code to this project.
I think it's given in the link of the video
My bad... Great video sir. Thank you
Hello sir, you have very few videos on react native...Why don't you bring some big project on react native...?Pls bring some good quality videos on react native like flutter ecommerce with back end.. we don't have much videos on react native on this platform...
Good evening sir,
Plz help me to perform operation on google map
Such as
If we have multiple markers on map, then find the nearest mark
Show smallest route between two points, in which one point is permanent and second is moving
And operations like these
Plz sir help me by making tutorial on this.
Lots of Love sirr
Bro can you make projects in react native
Yes I can
@@dbestechbro I'm following you from sometimes but I want to make react native projects. You will definitely get more views.