myanmar_calendar_widget 0.0.2
myanmar_calendar_widget: ^0.0.2 copied to clipboard
A comprehensive Myanmar calendar library for Flutter with date conversion, calendar widgets, and traditional Myanmar calendar support.
Changelog #
0.0.2 - 2025-06-26 #
Fixed #
- Updated example app implementation
- Improved package structure
- Fixed minor issues with documentation
0.0.1 - 2025-06-26 #
Added #
- Initial release of Myanmar Calendar library for Flutter
- Core Myanmar calendar conversion algorithms
- Date conversion between Gregorian and Myanmar calendars
MyanmarDateclass for representing Myanmar datesMyanmarCalendarCorefor low-level calendar calculationsMyanmarCalendarConverterfor high-level conversion functions- Support for watat (intercalary) years
- Myanmar calendar widget (
MyanmarCalendarWidget) with:- Full display mode with conversion capabilities
- Compact display mode
- Customizable font sizes
- Interactive date conversion interface
- Myanmar month names in Myanmar script
- Myanmar day names for days of the week
- Automatic number conversion to Myanmar digits
- Moon phase support (waxing, full moon, waning)
- Calendar month generation with Gregorian equivalents
- Date range conversion utilities
- Myanmar holidays and special days calculation
- Comprehensive test suite
- Example application demonstrating all features
- Detailed documentation and usage examples
Features #
- ✅ Accurate Myanmar calendar calculations based on traditional algorithms
- ✅ Bidirectional date conversion (Gregorian ↔ Myanmar)
- ✅ Beautiful Flutter widgets for calendar display
- ✅ Support for both watat and regular years
- ✅ Myanmar numerals and script support
- ✅ Day of week calculations
- ✅ Full moon, waxing, and waning moon phase detection
- ✅ Holiday and special day identification
- ✅ Comprehensive API for calendar operations
- ✅ Well-documented with examples
Technical Details #
- Based on proven Myanmar calendar algorithms
- Julian Day Number calculations for accurate conversions
- Handles intercalary months (watat years) correctly
- Supports wide range of dates
- Optimized for performance
- Type-safe Dart implementation
- Follows Flutter package development best practices
Documentation #
- Comprehensive README with usage examples
- API documentation for all public classes and methods
- Example application demonstrating library features
- Code comments explaining algorithm details