chinese_lunar_almanac 0.1.1
chinese_lunar_almanac: ^0.1.1 copied to clipboard
A pure Dart Chinese traditional almanac (Huangli) library with GanZhi, solar terms, flying stars, lunar mansions, and Yi/Ji.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add chinese_lunar_almanacWith Flutter:
$ flutter pub add chinese_lunar_almanacThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
chinese_lunar_almanac: ^0.1.1Alternatively, 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:chinese_lunar_almanac/chinese_lunar_almanac.dart';