kosher_dart
2.1.0, released 5 days ago by beninsapps.com
Dart library for calculating Jewish calendar dates and halachic times.
WASM-readyRock solid
What it does
Provides classes to compute Hebrew dates, Jewish holidays, and astronomical times such as sunrise, sunset, and prayer times. It mirrors the KosherJava Zmanim API in Dart.
AI-written summary of version 2.0.20, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Jewish calendar calculations in a Dart or Flutter app
- You require prayer time or zmanim calculations without writing your own astronomy code
Skip it when
- You need a full-featured UI widget set for displaying dates
- You require a backend service for calendar data
Strengths
- Accurate halachic time calculations
- Comprehensive support for Jewish holidays and date navigation
- No external services required
Weaknesses
- Limited to Jewish calendar; not a general date‑time utility
- No UI components; purely computational
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
import 'package:kosher_dart/kosher_dart.dart';
void main() {
var geo = GeoLocation.setLocation('Jerusalem', 31.7962419, 35.2453988, DateTime.now());
var zmanim = ComplexZmanimCalendar.intGeoLocation(geo);
print('Sof Zman Tfila: ${zmanim.getSofZmanTfilaGRA()}');
print('Mincha Ketana: ${zmanim.getMinchaKetana()}');
}Alternatives
Packages that do the same job and could replace kosher_dart.
- adhan_dart
Calculate Islamic prayer times using precise astronomical formulas.
66Compare
Works with
Packages commonly used together with kosher_dart: ones it builds on, ones built on it, and its own family.
- intlkosher_dart depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- vector_mathkosher_dart depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- lintskosher_dart depends on itOfficial Dart team lint rules for core and recommended static analysis settings.
- hebrew_date_pickerBuilt on kosher_dartA Material-style date picker and form fields showing both Gregorian and Hebrew dates.