hgg_base 1.0.8 hgg_base: ^1.0.8 copied to clipboard
一个新的 flutter 基础库
We analyzed this package 2 days ago, and awarded it 95 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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.
Homepage URL doesn't exist.
At the time of the analysis http://www.redhome.top/
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
1079 out of 2249 API elements (48.0 %) have documentation comments.
Some symbols that are missing documentation: hgg_base
, hgg_base.AddSubscription
, hgg_base.ApiInterceptor.doShowErrorMsg
, hgg_base.ApiInterceptor.isShowErrorMsg
, hgg_base.ApiInterceptor.mapToRespData
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:hgg_base/hgg_base.dart
that imports:package:hgg_base/src/utils/x_sp.dart
that imports:package:hgg_base/src/utils/x_log.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/file_output_stub.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/utils/x_date_util.dart:1:1
╷
1 │ ┌ /// 一些常用格式参照。可以自定义格式,例如:"yyyy/MM/dd HH:mm:ss","yyyy/M/d HH:mm:ss"。
2 │ │ /// 格式要求
3 │ │ /// year -> yyyy/yy month -> MM/M day -> dd/d
4 │ │ /// hour -> HH/H minute -> mm/m second -> ss/s
5 │ └ ///
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/x_date_util.dart
lib/src/http/api_interceptor.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bot_toast |
^4.0.1 |
4.1.3 | 4.1.3 |
dio |
^4.0.4 |
4.0.6 | 5.4.3+1 |
extended_image |
^6.0.1 |
6.4.1 | 8.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_screenutil |
^5.0.1 |
5.9.0 | 5.9.0 |
get |
^4.5.1 |
4.6.6 | 4.6.6 |
get_storage |
^2.0.3 |
2.1.1 | 2.1.1 |
logger |
^1.1.0 |
1.4.0 | 2.2.0 |
path_provider |
^2.0.8 |
2.1.3 | 2.1.3 |
pull_to_refresh |
^2.0.0 |
2.0.0 | 2.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
crypto |
- | 3.0.3 | 3.0.3 |
extended_image_library |
- | 3.6.0 | 4.0.4 |
ffi |
- | 2.1.2 | 2.1.2 |
http |
- | 1.2.1 | 1.2.1 |
http_client_helper |
- | 3.0.0 | 3.0.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
path_provider_foundation |
- | 2.3.2 | 2.3.2 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^4.0.4` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^6.0.1` on extended_image does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions extended_image
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.