hijri 3.0.0 hijri: ^3.0.0 copied to clipboard
Convert between Hijri Calendar and Gregorian Calendar date support Arabic and English Local.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add hijri
With Flutter:
$ flutter pub add hijri
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
hijri: ^3.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:hijri/digits_converter.dart';
import 'package:hijri/hijri_array.dart';
import 'package:hijri/hijri_calendar.dart';