pp_kits 1.2.2
pp_kits: ^1.2.2 copied to clipboard
pp_kits is a rapid development application library for Flutter, containing essential technical points, practical triplet libraries, etc
We analyzed this package 12 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
356 out of 470 API elements (75.7 %) have documentation comments.
Some symbols that are missing documentation: alert, alert.PPAlert.PPAlert.new, animation_button, animation_button.AnimationButtonState.AnimationButtonState.new, app_util.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/network_util.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/device_util.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/path_util.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/network_util.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/network_util.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:pp_kits/pp_kits.dartthat imports:package:pp_kits/utils/network_util.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/common/logger.dart:1:1
╷
1 │ ┌ /// Logger 日志工具类
2 │ │ ///
3 │ │ /// ## 说明
4 │ │ /// 提供统一日志输出接口,支持开发调试环境日志打印,避免 release 环境输出敏感日志。
5 │ │ ///
6 │ │ /// ## 快速示例
7 │ │ /// ```dart
8 │ │ /// Logger.log('普通日志');
9 │ │ /// Logger.trace('带调用堆栈信息的日志');
10 │ └ /// ```
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common/logger.dart
INFO: Don't invoke 'print' in production code.
lib/common/logger.dart:29:5
╷
29 │ print(message);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/common/logger.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_dialog |
^2.5.0 |
2.6.0 | 2.6.0 | |
app_settings |
^6.1.1 |
6.1.1 | 7.0.0 | |
archive |
^4.0.7 |
4.0.7 | 4.0.7 | |
audioplayers |
^6.5.1 |
6.5.1 | 6.5.1 | |
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
device_info_plus |
^12.1.0 |
12.3.0 | 12.3.0 | |
dio |
^5.9.0 |
5.9.0 | 5.9.0 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
file_picker |
^10.1.7 |
10.3.8 | 10.3.8 | |
flutter_easyloading |
^3.0.5 |
3.0.5 | 3.0.5 | |
flutter_screenutil |
^5.9.3 |
5.9.3 | 5.9.3 | |
flutter_secure_storage |
^9.2.4 |
9.2.4 | 10.0.0 | |
flutter_timezone |
^5.0.0 |
5.0.1 | 5.0.1 | |
get |
^4.7.2 |
4.7.3 | 4.7.3 | |
get_time_ago |
^2.3.1 |
2.3.2 | 2.3.2 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
image_cropper |
^10.0.0+1 |
10.0.0+1 | 11.0.0 | |
image_picker |
^1.2.0 |
1.2.1 | 1.2.1 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
package_info_plus |
^9.0.0 |
9.0.0 | 9.0.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
share_plus |
^12.0.0 |
12.0.1 | 12.0.1 | |
shared_preferences |
^2.5.3 |
2.5.4 | 2.5.4 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 | |
uuid |
^4.5.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^6.1.1` on app_settings does not support the stable version `7.0.0`, that was published 16 days ago.
When app_settings is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions app_settings to update the constraint.
The constraint `^9.2.4` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 7 days ago.
When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_secure_storage 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.