Flutter Rest API Tutorial(Retrofit)
October 18, 2020

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 ပုံစံမျိုးပါပဲ။
Episode 1.
Episode 2.
Episode 3.
Episode 4
Episode 5