Flutter Rest Api with Retrofit Library

Flutter Application တွေမှာ Rest API တွေနဲ့ connect လုပ်ပြီး develop လုပ်ဖို့အတွက် Retrofit ဆိုတဲ့ Library သုံးပြီးရှင်းပြထားပါတယ်။ Flutter မှာ network က data တွေ fetching လုပ်ဖို့အတွက် Library ၂ ခု အသုံးများပါတယ်။
http package နဲ့ dio package ပါ။
Retrofit ကတော့ dio ကို code generation လုပ်ပေးတဲ့ package ပါ။ Android က Retrofit ဆိုတဲ့ Library ပုံစံမျိုးပါပဲ။
- What is Retrofit
- Basic Http calling
- Http Logging
- json decoding on Difference Thread(Isolate)
- Offline Support Caching
-
What is Retrofit and setup
-
Detail Screen
-
Http Logging
-
Performance
-
Offline Caching