bazi_core 0.4.4
bazi_core: ^0.4.4 copied to clipboard
Dart/Flutter 八字(BaZi)计算库,支持真太阳时、早晚子时配置、农历/阳历转换等功能。
We analyzed this package in the last hour, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
202 out of 311 API elements (65.0 %) have documentation comments.
Some symbols that are missing documentation: bazi_core, bazi_core.BaZi, bazi_core.BaZi.BaZi.new, bazi_core.BaZi.day, bazi_core.BaZi.month.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The import of 'package:sxwnl_spa_dart/sxwnl_spa_dart.dart' is unnecessary because all of the used elements are also provided by the import of 'package:bazi_core/bazi_core.dart'.
lib/src/models/shen_sha.dart:18:8
╷
18 │ import 'package:sxwnl_spa_dart/sxwnl_spa_dart.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/shen_sha.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
sxwnl_spa_dart |
^0.10.2 |
0.10.3 | 0.12.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
tuple |
- | 2.0.2 | 2.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.10.2` on sxwnl_spa_dart does not support the stable version `0.11.0`, that was published 0 days ago.
When sxwnl_spa_dart is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions sxwnl_spa_dart to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.10, Dart 3.11.1.
Check the analysis log for details.