Search packages, repositories and app categories

Package detailsv2.0.20

kosher_dart

A Dart library for calculating Jewish zmanim (halachic times) including astronomical times for prayers, Shabbat, and other Jewish religious observances.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
13K
Likes
24
Pub points
160

Install package

flutter pub add kosher_dart

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Kosher Dart is a Dart library designed to calculate Jewish zmanim—halachic times—for religious observances such as prayers, Shabbat, and holidays. It provides accurate astronomical calculations based on location and date, supporting traditional Jewish timekeeping methods. The library is suitable for apps requiring precise timing for daily rituals and religious events. It works across all major platforms, including mobile, web, and desktop. Ideal for developers building Jewish calendar or prayer time applications.

Use cases

  • Prayer time reminders
  • Shabbat candle lighting calculators
  • Jewish holiday scheduling
  • Religious app integrations
  • Calendar-based ritual planning

Key features

  • Accurate halachic time calculations
  • Support for multiple zmanim types
  • Location-based time adjustments
  • Cross-platform compatibility
  • Easy integration with Flutter apps

Suitable for

  • Jewish calendar apps
  • Spiritual wellness tools
  • Religious education platforms
  • Daily prayer reminder apps
  • Mobile apps for Jewish observance

Considerations

  • Requires accurate geographic coordinates
  • Depends on correct date input
  • May need localization for non-Hebrew users
  • Results vary by minyan and custom settings
  • Not intended for legal or official halachic rulings

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

kosher_dart API

This API for a specialized calendar that can calculate different astronomical times including sunrise and sunset and Jewish zmanim or religious times for prayers and other Jewish religious dutuies. This API Translated KosherJava Zmanim API from JAVA to Dart language.

License

The library is released under the LGPL 2.1 license.

Getting Started

Add this to your package's pubspec.yaml file:

dependencies:
  kosher_dart: ^2.0.20

Usage

Import the package

To use this plugin, follow the plugin installation instructions.

Use the plugin

Add the following import to your Dart code:

import 'package:kosher_dart/kosher_dart.dart';
Get Hebrew date
  JewishDate jewishDate = JewishDate();
  HebrewDateFormatter hebrewDateFormatter = HebrewDateFormatter();
  hebrewDateFormatter.hebrewFormat = true; // optional
  hebrewDateFormatter.useGershGershayim = true; // optional
  String hebrewDate = hebrewDateFormatter.format(jewishDate);
Get jewish holiday
  JewishCalendar jewishCalendar = JewishCalendar();
  HebrewDateFormatter hebrewDateFormatter = HebrewDateFormatter();
  
  jewishCalendar.inIsrael = true; // set to true if your location is in israel
  hebrewDateFormatter.hebrewFormat = true; // optional
  hebrewDateFormatter.useGershGershayim = true; // optional
  
  String yomTov = hebrewDateFormatter.formatYomTov(jewishCalendar);
Get time of the day
  GeoLocation geoLocation = GeoLocation.setLocation(
        'Jerusalem', 31.7962419, 35.2453988, DateTime.now());
    ComplexZmanimCalendar complexZmanimCalendar = ComplexZmanimCalendar.intGeoLocation(geoLocation);
    DateTime? sofZmanTfila = complexZmanimCalendar.getSofZmanTfilaGRA();
    DateTime? minchaKetana = complexZmanimCalendar.getMinchaKetana();

Categories

Dependencies

Dependency list 3 items

Source repository

Projects using this package

No data available yet.