misri_hijri 0.1.2
misri_hijri: ^0.1.2 copied to clipboard
Hijri calendar dates for Dart/Flutter with a choice of calculation system — Misri (fixed tabular, 30-year cycle) or Umm al-Qura (Saudi official, astronomical lookup table) — behind one shared API.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add misri_hijriThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
misri_hijri: ^0.1.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:misri_hijri/misri_hijri.dart';