prayer_time 2.0.0 prayer_time: ^2.0.0 copied to clipboard
A Dart Pacakge to get prayer times of different loctions based on geo and timezone.
Version 2.0.0 (2024-05-22) #
New Features:
- Added null safety support.
Improvements:
- Converted constants to static final variables for better performance.
- Made variables private and exposed them through getters and setters for better encapsulation.
- Extracted smaller, well-named methods for improved readability and maintainability.
- Added type annotations for parameters and return values for clarity.
- Divided the code into multiple files for better organization:
PrayerTime.dart
constants.dart
utils.dart
- Change the name of the package from
PrayerTime
toprayer_time
to follow Dart's package naming conventions.
Breaking Changes:
- Renamed the package from
PrayerTime
toprayer_time
. - Instead of using
int
for themethod
parameter in thePrayTime
constructor, use the constants likeKarachi
,ISNA
, etc.
1.0.0 #
- Initial version, created by Muhammad Umer Farooq