prayer_time 1.0.0 copy "prayer_time: ^1.0.0" to clipboard
prayer_time: ^1.0.0 copied to clipboard

outdated

A Dart Pacakge to get prayer times of different loctions based on geo and timezone.

A library for Dart developers.

A Dart Package to find prayers/ramazan timings for your exact location.

Features #

  1. Standalone
  2. Astronomical calculations
  3. can find for your exact location

LICENSE #

GPL-3

Usage #

A simple usage example:


import  'package:prayer_time/prayer_time.dart';

  

void  main() {

/*

// method

0; // Jafari

1; // University of Islamic Sciences, Karachi

2; // Islamic Society of North America (ISNA)

3; // Muslim World League (MWL)

4; // Umm al-Qura, Makkah

5; // Egyptian General Authority of Survey

6; // Custom Setting

7; // Institute of Geophysics, University of Tehran

*/

PrayTime prayerTime =  PrayTime(method:  1);

  

// date {year, mday, mon}, latitude, longitude, timezone

var times = prayerTime.getPrayerTimes({

"year":  2021,

"mday":  19,

"mon":  4,

}, 31.170406299999996, 72.7097161, 5);

  

// [Fajr, Sunrise, Dhuhr, Asr, Sunset, Maghrib, Isha]

print(times);

  

}

Issue #

https://github.com/lablnet/prayer_time/issues

25
likes
30
pub points
51%
popularity

Publisher

verified publisheralphasofthub.com

A Dart Pacakge to get prayer times of different loctions based on geo and timezone.

Homepage

License

GPL-3.0 (LICENSE)

More

Packages that depend on prayer_time