Skip to content
pubscout

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
$ flutter pub add kosher_dart
Source repository

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.

Works with

Packages commonly used together with kosher_dart: ones it builds on, ones built on it, and its own family.