I'm 3 years experienced ionic Angular Mobile App developer. I've started flutter development two days ago😀 because I've to deal with a flutter E-Commerce project. So the point is being an experienced developer I can say that watching your video is worth going. Thanks for such good Stuff May Allah bless you.
Brother plz help ! I have 2 months left for the completion of my graduation , i know the basics of flutter , api , few sorting algorithms . How can i be job ready as flutter developer in 2 months .?
Thanks a lot for this tutorial! 🔥 As for a beginer API calls was a real nightmare for me. But with your tutorial everything gets nice and clear for me. I'm sure with practice it will become like a second nature! Appreciate your effort a lot! 🙏🏻
Thanks for the video, really helpful, anyone just getting into flutter and learn http request needs to watch this. Alot has actually changed in a couple of months. Especially with null safety.
Kindly Post Complete Rest Api Model Which Means Multiple API Data Fetch , API Parameters , Headers Concept Returning Data By Validating Headers , Multiple Endpoints This Could be Help Us lot
thanks for the helpful video. whenever i navigate into a page that requests data, i get a "null check operator used on a null value" error screen for like 0.1 seconds. then page loads with no problem. any idea why?
I want to learn how to handle apiKey and accessToken on real projects. Please do same using RapidApi endpoint to fetch list of soccer teams and few meta data.
RapidApi itself requires some knowledge to setup and get the access token, Currently this tutorial only teaches the basic of API. Hopefully in future I will do tutorial with custom APIs
Thank you so much for being connected with CodeX. I will try to cover Bloc in of my video.. but you can get fair idea looking at StreamController video on my channel.
Thanks. At 6:15 you mention that it is recommended to create an http client instance. By that, do you mean a global variable in the class? If so, would this class be static or a singleton to avoid re-instantiating the client instance? This is what I want to build for my project, that will also handle authentication, so with each call, do a check of the current token expiry datetime subtract the current datetime to see if my token is still valid, and if not, re-authenticate, update the auth headers and continue with the request. What I can't find is whether I should do this static class, or extend http client (or both). What are Flutter industry standards?
what you meant by restful api integration ,because the api integration must follow some rule to implement rest ful api integration? otherwise it's just only api integration
Sir I have done it and am using it to get news in the app from a free api but the problem I am facing is that there are a limited number of requests I can make which turns into an error, can you tell how we can create our own apis with default data in it to show I. Our UI.
I'm getting these two errors. 1. The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr', is a potentially non-nullable type. Try adding either a return or a throw statement at the end. 2. A value of type 'Post' can't be returned from the method 'getPosts' because it has a return type of 'Future'.
@@CodeXdev Quicktype.io does not return the same code showed in the video, I fixed the error by copying your file post.dart (The lines in question are, in the video, the 7th and the 8th)
Great tutorial i installed your code on android phone and the data never loads. the screen stays on loading page. any reason why. it works on my computer but when i build the apk and install on android phone it hangs
I tried to follow your tutorial but when I pasted the pists from jason place holder to to app.quicktype, following exactly tye way you did it, it gave a different lines of code/model and theres not even a word "class" in it..when I pasted it in my vscode where Im coding flutter, it gave so many errors..what do you think went wrong?..is it really possible that even if I follow you exactly, I will get a different code?..please advise..thanks
Hello, you should get same class if you have pasted correct json. May be json has changed on jsonplaceholder site but still, it should give you valid class
@@CodeXdev that the problem coz it really did not return a class and the size of codes is just about 1/3 of what you got..it's really very few..maybe it changed..anyway, thanks for replying..I appreciate it so much..Im still continuing my self learning via CZcams. Im trying my best because I really want to learn it 👍
Hello sir, I've followed your tutorial and it works perfectly for basic API calls. Unfortunately, I have found difficulties trying to call and display data from APis where data is nested ("id:", "name:", "number:" etc). Do you have any ideas or tutorials that can help me ? I have not found anything helpful on the internet, perhaps I am just bad because I am a beginner but any help would be welcome. Thank you.
Git Source: github.com/afzalali15/REST-API-with-Flutter
can you explaine Post, delete and put also???
Sir I am working on flutter connect moodle API is there any way I can get real-time data please help me thank you
I'm 3 years experienced ionic Angular Mobile App developer. I've started flutter development two days ago😀 because I've to deal with a flutter E-Commerce project. So the point is being an experienced developer I can say that watching your video is worth going. Thanks for such good Stuff May Allah bless you.
Thanks for sharing 😍
Brother plz help !
I have 2 months left for the completion of my graduation , i know the basics of flutter , api , few sorting algorithms . How can i be job ready as flutter developer in 2 months .?
Wow, i feel so stupid right now, i've been struggling with APIs for over a week now and i am just 2 mins in and i am 10x smarter, thanks
Thanks a lot for this tutorial! 🔥 As for a beginer API calls was a real nightmare for me. But with your tutorial everything gets nice and clear for me. I'm sure with practice it will become like a second nature! Appreciate your effort a lot! 🙏🏻
100%
Thanks for the video, really helpful, anyone just getting into flutter and learn http request needs to watch this. Alot has actually changed in a couple of months. Especially with null safety.
Thank you so much 😍
you are one of the good flutter guy. impressive tutorial. I hope people will recognize you more.
in 12 minute i learn 3 things
Flutter, Flutter applying API, and API it self
kudos
Production quality is so much better. Same info covered in shorter time. Great work.
Much appreciated!
You explain very well and logically. Thank you for your good videos bro. In the hope of Allah, you will be more successful than you are.
Many many thanks
Can we get 1K likes in a week 🥰😉
Yes
Sir Please make a video on socket api please please please
Finally I found what I've been looking for. Thanks! :)
Obrigado mestre!continue com o ótimo conteúdo!saudações do Brasil
Truly great tutorial, exceptional content and style!
Great work ever sir.... Uh didn't waste a single second👍
Thank you so much 😀
thank you.. clear and straight forward to jump forward to implement api in flutter ❤
Thank you so much @Bijak :)
i subscribed because i loved the way you present it
Amazing, working hard to produce more awesome content. 😍
Thank you for this tutorial. You just earned a new sub
Excellent Tutorial Thanks for that 👏👏👏
Glad it was helpful!
U r just awesome , waiting for more such quality content🥰🥰🥰🥰🥰
Subscribing is the only option 😆 see you in the next video 👍🏼
Kindly Post Complete Rest Api Model Which Means Multiple API Data Fetch , API Parameters , Headers Concept Returning Data By Validating Headers , Multiple Endpoints This Could be Help Us lot
Yes, good suggestion for advance level tutorial
This is wowwwwwwwwww broo... Keep it up
Thank you so much 😀
incredibly well explained. Thank you!
Glad you liked it!
Hello, this is a very well-explained video! My request: could you please combine it with the GET and POST method for this API topic using HTTP?
Thanks for feedback 😍 Will do a video covering GET, POST, PUT n DELETE 👍🏼
After long time n yaa thank you for the tshirt 🤝🏽🤝🏽
Yeah, I was on vacation and didn't managed to upload, but now I am back!
Thankyou so much, I don't have words.
You already wrote 7 words😜, thank you for the feedback 😍
cThis very nice video than other api video of your channel . Can u give the video of all crud operation for same api. that will be very helpful.
Really and extremely helpful nice job 👌🏾👍🏾
hindos i love you 🔥🔥🔥🔥🔥🔥 ireally apreciate it bro
thanks for the helpful video. whenever i navigate into a page that requests data, i get a "null check operator used on a null value" error screen for like 0.1 seconds. then page loads with no problem. any idea why?
I want to learn how to handle apiKey and accessToken on real projects.
Please do same using RapidApi endpoint to fetch list of soccer teams and few meta data.
RapidApi itself requires some knowledge to setup and get the access token, Currently this tutorial only teaches the basic of API. Hopefully in future I will do tutorial with custom APIs
@@CodeXdev i agree with you that it's not an easy challenge.
However, i'll be very pleased if you attend to my request.
It would be nice if there was a video explaining the implementation of search bar
please make it
Waiting for it! Searchbar using GetX
Thanks, this vídeo helps me a lot
Glad it helped
life saver
I owe you my life *bows*
you are the best
Last few yrs i following your chennal . I saw all video and also live stream.can you give dedicated video for bloc .
Thank you so much for being connected with CodeX. I will try to cover Bloc in of my video.. but you can get fair idea looking at StreamController video on my channel.
Thanks, this content is meaty!
Glad you enjoy it!
Love it 💕 thanks for the great knowledge
So glad!
You are the best ❤
Awesome! Thanks!
Amazing! THANK YOU!!!!!
Great content! Thank you
hlw sir your way of teaching is too good, can you make a video on API integration with get and post method together on a bigger project
Sure, working on it ☺️
@@CodeXdev when will it release?
yeap its run totally thanks dude
Thank you Brother🤩
Perfect. Bravo.
Thanks. At 6:15 you mention that it is recommended to create an http client instance. By that, do you mean a global variable in the class? If so, would this class be static or a singleton to avoid re-instantiating the client instance? This is what I want to build for my project, that will also handle authentication, so with each call, do a check of the current token expiry datetime subtract the current datetime to see if my token is still valid, and if not, re-authenticate, update the auth headers and continue with the request.
What I can't find is whether I should do this static class, or extend http client (or both). What are Flutter industry standards?
Wonderful bro outstanding ❤️❤️❤️❤️ one request please continue this for delete and update kindly 🙏🙏🙏
I will try my best
@@CodeXdev yes bro please my flutter exams r in 2 weeks
Amazing!!!!
i was finding the exact tutorial...thankyou so much.
can you also do firebase tutorial and sql database plsss
Great to hear that it helped, Surely planning Firebase tutorials soon!
Thank you very much!
Super Bro lot of thanks
thanks you man
Great tutorial
Thanks for the video.
easy ! this is greay sir
life saver!
jestes szefem ziomek, ale i tak nie oddalo pozniej
Kindly Make a detailed tutorial of BLOC...
what you meant by restful api integration ,because the api integration must follow some rule to implement rest ful api integration? otherwise it's just only api integration
Great stuff
Sir I have done it and am using it to get news in the app from a free api but the problem I am facing is that there are a limited number of requests I can make which turns into an error, can you tell how we can create our own apis with default data in it to show I. Our UI.
Amazing tutorial❤
Thank you! Cheers!
Awesome. Can you make a video showing how to create our own rest api and connect to SQL server that will a great help. Thanks in advance
thank you amazing tuto
thanks you so much , great !!!!!
Thanks for that claps🎉
Great tutorial! Can you please provide a github repo for your code
In the pinned comment!
Cool ❤🔥
Hey! Can you make a tutorial on how to make geofence in Flutter ?
Hey, thanks for your tutorials, I'm a big fan. I wanted to ask which software you use to record and edit your videos.
I record using OBS and edit inside Premier Pro
@@CodeXdev thanks
Sir plz make a video on isolates. And how to use isolates with api
So this is GET operation, what about POST?
Thanks again for the tutorial! i got an issue my vscode complains when i try to return postFromJson(json); it looks like the method is not working
Good job
Hi bro,
can you please do a tutorial on flutter php mysql REST API...that would be so much helpful to me.
sir , make video like this but using DIO. what is difference DIO and HTTP ? which one is better ?
Cool
Awesome...thank you...
Welcome 😊 appreciate your comment!
can you show us to load local json data?
Great video indeed. How are you bringing up those context menus to create the widgets? Is there an extension you have to install?
Thats in built, command+. on mac system
Sir mera postFromJson ka method ni arha? Red underline ata ha
love you
I'm getting these two errors.
1. The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr', is a potentially non-nullable type.
Try adding either a return or a throw statement at the end.
2. A value of type 'Post' can't be returned from the method 'getPosts' because it has a return type of 'Future'.
did u get a fix for the second one?
Did you solve the second error?
Can you report this on GitHub, I will have a look at the code and suggest potential fix
@@CodeXdev Quicktype.io does not return the same code showed in the video, I fixed the error by copying your file post.dart (The lines in question are, in the video, the 7th and the 8th)
Amazing
Thanks for listening
Can I use the same code to access users?
How to do it if I have application password of my WordPress website?
why you are using not equal to sign in container section??
Great tutorial
i installed your code on android phone and the data never loads. the screen stays on loading page. any reason why. it works on my computer but when i build the apk and install on android phone it hangs
Internet connection, either you don’t have permission in manifest or you don’t have data 😬
subscribers done🇧🇩🇧🇩
I tried to follow your tutorial but when I pasted the pists from jason place holder to to app.quicktype, following exactly tye way you did it, it gave a different lines of code/model and theres not even a word "class" in it..when I pasted it in my vscode where Im coding flutter, it gave so many errors..what do you think went wrong?..is it really possible that even if I follow you exactly, I will get a different code?..please advise..thanks
Hello, you should get same class if you have pasted correct json. May be json has changed on jsonplaceholder site but still, it should give you valid class
@@CodeXdev that the problem coz it really did not return a class and the size of codes is just about 1/3 of what you got..it's really very few..maybe it changed..anyway, thanks for replying..I appreciate it so much..Im still continuing my self learning via CZcams. Im trying my best because I really want to learn it 👍
Great to hear that your are putting efforts to learn it, you can join on discord link in description and get some guidance over there
@@CodeXdev thanks..joined discord ..my first time to use discord 👍😊
thanks
Can you make a video on Mvvm with api calling using getX and with pagination as well?
I have a video for API calling using GetX... you need to learn pagination separately and apply in this 😉👍🏼
We can also use Json to dart plugin, if you use android studio
Yes.. this is just one of the options!
If i don't have a json file and want to get data displayed in specific file , how to do this?
thanks for the video. how to do when api key is needed?
Can anyone help me in this I am getting error in this line of code.
posts = await RemoteService().getPosts();
What is that error? You can share on discord group
Please make a complete free course for flutter
Plz make some videos for firebase.
sir if i need to fetch login data from my website server and get data to my flutter app..how can i do it sir pls hel me sir
Hello sir, I've followed your tutorial and it works perfectly for basic API calls. Unfortunately, I have found difficulties trying to call and display data from APis where data is nested ("id:", "name:", "number:" etc). Do you have any ideas or tutorials that can help me ? I have not found anything helpful on the internet, perhaps I am just bad because I am a beginner but any help would be welcome. Thank you.
Use JSON parser