One offline prayer and Sunnah time engine, available as native packages for Dart & Flutter, Kotlin/JVM, and Swift, with 50+ regional calculation methods and zero runtime dependencies.
Three ecosystems · three packages · one shared engine
Developer workbench
Choose an ecosystem to update installation, usage, and metadata. All six package and repository links remain visible above.
flutter pub add prayer_time_plusdependencies:
prayer_time_plus: ^0.2.0import 'package:prayer_time_plus/prayer_time_plus.dart';Quick start
Provide coordinates, a date, a calculation method, and a UTC offset to receive deterministic local prayer times independent of the host device's timezone.
import 'package:prayer_time_plus/prayer_time_plus.dart';
final coordinates = Coordinates(24.3486, 56.6953, altitude: 5);
final params = CalculationMethod.oman.getParameters();
final times = PrayerTimes(
coordinates,
DateComponents(2026, 6, 28),
params,
utcOffset: const Duration(hours: 4),
);
print(times.fajr);
print(times.maghrib);
print(times.nextPrayer());Shared engine
Prayer Time Plus is an open-source engine that calculates Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha, and Sunset directly from solar geometry. It works entirely offline without lookup tables, includes more than 50 methods used by authorities worldwide, and can automatically resolve the appropriate method from a country code.