โ In order to start using flutter_mmcalendar you must have the Flutter SDK installed on your machine.
Add flutter_mmcalendar to your pubspec.yaml:
Install it:
Features
Myanmar Date
Western Date
Astrological Information
Holidays - Myanmar Thingyan holidays and other holidays.
MoonPhase widget.
Usage
Import package
Sample Usage:
And use it
Available configs:
MmCalendarConfig.defaultConfig()
MmCalendarConfig.myanmarLanguage()
MmCalendarConfig.zawgyiLanguage()
MmCalendarConfig.englishLanguage()
MmCalendarConfig.monLanguage()
MmCalendarConfig.karenLanguage()
MmCalendarConfig.taiLanguage()
Available languages:
english
myanmar - myanmar unicode
zawgyi - myanmar zawgyi
mon
karen
tai
Other usages:
Myanmar Date Patterns
Myanmar Date formats are specified by date pattern strings.
The following pattern letters are defined ('S', 's', 'B', 'y', 'k', 'M', 'p', 'f', 'E', 'n', 'r', are reserved):
Letter
Date Component
Examples Myanmar
Examples English
S
Sasana year
แแฌแแแฌแแพแ แบ
Sasana Year
s
Buddhist era
แแ แแ
2561
B
Burmese year
แแผแแบแแฌแแพแ แบ
Myanmar Year
y
Myanmar year
แแแแ
1379
k
Ku
แแฏ
M
Month in year
แแซแแฑแซแแบ
Wagaung
p
Moon phase
แแแแบแธ
waxing
f
Fortnight Day
แ
1
r
Yat
แแแบ
E
Day name in week
แแแแบแนแแฌ
Monday
n
Nay
แแฑแท
Astrological Information
You can also check these days by calling is prefix properties.
Example:
Moon Phase Widget
Concept reference resources
Algorithm, Program and Calculation of Myanmar Calendar