world_holidays 1.0.0
world_holidays: ^1.0.0 copied to clipboard
A comprehensive Flutter package providing holiday information for multiple countries (2024-2026). Get holidays for South Korea, United States, Japan, and Germany with automatic online updates and offl [...]
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-09-09 #
Added #
- π Initial release of World Holidays package
- π³οΈ Support for 4 countries: South Korea (KR), United States (US), Japan (JP), Germany (DE)
- π Complete holiday data for 2024-2026 (178 holidays total)
- π Offline-first approach with local fallback data
- π Optional online updates from GitHub Pages API
- β‘ Efficient caching with SharedPreferences (7-day expiry)
- π Holiday lookup and filtering capabilities
- π Comprehensive test coverage
- π Detailed documentation and examples
Features #
getHolidays()- Get holidays for specific country/yearupdateHolidays()- Update data from online sourceisHoliday()- Check if specific date is holidayisTodayHoliday()- Check if today is holidaygetNextHoliday()- Find next upcoming holidaygetSupportedCountries()- List supported countriesgetSupportedYears()- List supported years (2024-2026)clearCache()- Clear cached data
Data Coverage #
- π°π· South Korea: 48 holidays (includes Lunar holidays and substitutes)
- πΊπΈ United States: 31 holidays (Federal holidays)
- π―π΅ Japan: 54 holidays (National holidays with substitutes)
- π©πͺ Germany: 45 holidays (National and regional holidays)
Technical Details #
- Minimum Flutter version: 3.0.0
- Minimum Dart SDK: 3.0.0
- Dependencies: http, shared_preferences
- API endpoint: https://beomq.github.io/world_holidays/api
- Cache duration: 7 days
- Network timeout: 10 seconds