here I upload my packages. there are two dart packages now.
- PrayerTimes: you can initial prayertimes instance in 2 way. .
var p = PrayerTimes(method:'MWL');
there are more method name: 'MWL','ISNA','Egypt','Makkah','Karachi','Tehran','Jafari' or .
var p= PrayerTimes(prayerTimeMethods:PrayerTimeMethods.instituteOfGeophysicsUniversityOfTehran );
and there are more. dart will suggest those automatically
after getting instance of PrayerTimes p; you can get all time by :
var times=p.getTimes(date, latitude, longitude, timezone);
optional argument is formatInString, which takes . '12h' or '24h' . thats all;
var fajr=times.fajr;
var dhuhr=times.dhuhr;
and more
thats all
- hijri_calculator: hijri_calculator is incomplete . better not to use. else youcan visit
this Hijjri Dart Package