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.
What's Changed
- Fixed #1 by @HamzaAnis in #2
- Fixed a typo by @Taggu1 in #6
New Contributors
- @HamzaAnis made their first contribution in #2
- @Taggu1 made their first contribution in #6
Full Changelog: v1.0.0...v2.0.0