jalali_date_time 1.1.4 jalali_date_time: ^1.1.4 copied to clipboard
JalaliDateTime is a Dart package that provides a convenient way to work with Jalali (Persian) dates while using the underlying DateTime structure.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jalali_date_time
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
jalali_date_time: ^1.1.4
Alternatively, 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:jalali_date_time/jalali_date_time.dart';