prayer_time_plus 0.2.0
prayer_time_plus: ^0.2.0 copied to clipboard
Offline Islamic prayer times (Fajr to Isha) and Sunnah times with 50+ regional calculation methods, auto method resolution, and zero dependencies.
Changelog #
0.2.0 #
- Added
HighLatitudeRule.automaticas the explicit default high-latitude behavior. - Changed
CalculationParameters.highLatitudeRuleto default toHighLatitudeRule.automaticinstead of relying onnull. - Kept
HighLatitudeRule.noneas the explicit unadjusted mode where Fajr and Isha may remainnull. - Documented the updated high-latitude rule options.
0.1.0 #
Initial release.
- Prayer-time engine: Julian day, sun position, single-pass solar-angle computation, adjust pipeline, four high-latitude rules, and nearest-minute rounding.
PrayerTimeswithtoday(), per-prayerDateTimes, andcurrentPrayer/nextPrayer/timeForPrayer.- 50+
CalculationMethodpresets with a customisableCalculationParameters(Fajr/Isha angles or intervals, Maghrib interval, per-prayer offsets, madhab, high-latitude rule). Madhab(Shafi/Hanafi) Asr and per-prayer minute tuning.AutoMethod.forCountryfor ISO country-based method resolution.SunnahTimesnight portions.- Umm al-Qura Ramadan Isha rule.
- Command-line demo (
dart run prayer_time_plus) and a runnable example. - Pure Dart, zero runtime dependencies.