Flutter Rest API - Simplifying Make API Call Using Retrofit

preview_player
Показать описание
📄In the mobile app development lifecycle, communicating with the server(via API) to fetch or store data is one of the basic needs.
in this video we calling Rest API using Retrofit package in Flutter.

⚡ SUBSCRIBE HERE⚡

🌐 Social Media

#flutter #fluttertutorial #flutterwidgets #fluttercourse
Рекомендации по теме
Комментарии
Автор

Gotta love code generation. I'd actually never heard of retrofit, seems super helpful.

juanmacias
Автор

great, i am getting to the next level of coding by flutter guys

sinazp
Автор

Awesome thanks for making it short! Otherwise i would have missed this amazing video and package.

naimurhasanrwd
Автор

Loved your channel..
Can you recommend/create some video or recommend some article/blog where I can see how can I write test when I am using retrofit and dio

ajinzrathod
Автор

Very nice..can you explain a error handling part..

rajkumarm
Автор

Please make videos on AR CORE in flutter

sabeehaisrar
Автор

Is dio is part of retrofit package? Or we need to install dio manually?

yusufmuhammad
Автор

Hello, I gendered file api_service.g.dart but can't gender file post_modal.g.dart.I write the same code as you.why?

nguyenconghoan
Автор

You did not add INTERNET permission, then also it is working.

techietoons
Автор

if my URL end with ticker what type should the List be ?
and if I changed the getposts to getTicker will json still work ?

anaskhaery
Автор

Great video! Thanks a lot.

How would you handle it when you need to send the auth token (bearer) with the request? Is there a way to make it more automatic, instead of passing the DioOptions as you did? The same goes for contentType. I don't want to pass the content-type in every request

kevinkouketsu
Автор

But http is recommended by the flutter team

tristankluivert
Автор

Im following the clean architecture tutorials of yours.
but when im trying that intitaly the app runs when I generate news_api_service.dart file im not getting any api call or responce call is reached up to,
final httpResponse = await
apiKey:newsAPIKey,
country:countryQuery,
category:categoryQuery,
);
and nothing happens then.
any fix for this

hariprasadhari
Автор

very goo, but all tutorials a very fast and don't explaining a lot.. It is tutorials for people who do not need tutorials

wiazowski