My Flutter Journey
Notification နဲ့ ပတ်သက်ပြီး အခြေခံအချက်တွေ အကုန်အဆင်ပြေသွားပြီ။ ဘာတွေပါမလဲ?
- Show notification
- Schedule notification
- Cancel notification
- Notification payload context မတူတာတွေ၊ Material App ကို နှစ်ထပ်အုပ်ပြီး သုံးရတာတွေတော့ ရှိတယ်။ နောက်ပြီး time zone မှာလည်း မြန်မာနိုင်ငံက အခုထိ နောက်ကျနေတုန်း၊ ဆိုလိုချင်တာက Asia/Rangoon ဖြစ်နေတုန်းပဲ။ အဲ့တစ်ခုတော့ manual setup လုပ်ထားရတယ်။ ဆိုတော့ကာ ပြည်ပက လူတွေ သုံးဖို့အတွက်ပါ လုပ်ထားရင် တော့ အဲ့နေရာကို if နဲ့ စစ်မှ ရလိမ့်မယ်။
- notification
- buttom navigation
- sqflite integration
- alarm api, I mean Alarm Manager
ဆိုရရင် package တွေ သိပ်ပြီး အားမကိုးချင်။ ကိုယ်တိုင် native မှာ ရေးလို့ ရတယ်။ အကြာကြီး မရေးချင်လို့ သုံးတာမျိုးက အဆင်ပြေတယ်။ အဲ့လိုမှ မဟုတ် Native မှာ ဘယ်လိုရေးလို့ ရေးရမှန်းမသိ package တစ်ခုကို စုံလုံးမှိတ်ပြီး အားကိုးလိုက်ရတာမျိုးက အဆင်မပြေ။
အခုတော့ ဒုတိယ package ဖြစ်တဲ့ local notification ကို သုံးရတော့မယ်။
flutter_local_notifications: ^3.0.1+2
ပထမ တစ်ခုက socket
socket_io_client: ^0.9.11
notification ေတာ့ ရသွားပြီ။
- socket server နဲ့ချိတ်ဆက်ပြိးပြီ။
- shared preference ရပြီ
- Flame နဲ့ ပတ်သက်ပြီး tutorial series တစ်ခုလုံးတော့ ကူးပြီးသွားပြီ :D PART 3,4,5 ကိုတော့ စိတ်အေးလက်အေး ပြန်ဖတ်ရမယ်။
2020-11-03 Named Route ထဲမှာ data တွေ pass လုပ်တာအထိ အဆင်ပြေပြီ
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.