pp_kits 1.2.5
pp_kits: ^1.2.5 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 32 hours ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
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
377 out of 506 API elements (74.5 %) have documentation comments.
Some symbols that are missing documentation: action_sheet, action_sheet.PPActionSheet.PPActionSheet.new, alert, alert.PPAlert.PPAlert.new, animation_button.
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/utils.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/utils.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/utils.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/utils.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/utils.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/utils.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 18 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/commons/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/commons/logger.dart
INFO: 'alpha' is deprecated and shouldn't be used. Use (*.a * 255.0).round().clamp(0, 255).
lib/extensions/extension_on_color.dart:78:25
╷
78 │ '${includeAlpha ? alpha.toRadixString(16).padLeft(2, '0') : ''}'
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/extensions/extension_on_color.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_dialog |
^2.6.0 |
2.7.1 | 2.7.1 | |
app_settings |
^7.0.0 |
7.0.0 | 7.0.0 | |
archive |
^4.0.7 |
4.0.9 | 4.0.9 | |
audioplayers |
^6.5.1 |
6.6.0 | 6.6.0 | |
connectivity_plus |
^7.0.0 |
7.0.0 | 7.0.0 | |
device_info_plus |
^12.3.0 |
12.3.0 | 12.3.0 | |
dio |
^5.9.1 |
5.9.2 | 5.9.2 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
file_picker |
^10.3.8 |
10.3.10 | 10.3.10 | |
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 |
^10.0.0 |
10.0.0 | 10.0.0 | |
flutter_timezone |
^5.0.1 |
5.0.1 | 5.0.1 | |
get |
^4.7.3 |
4.7.3 | 4.7.3 | |
get_time_ago |
^2.3.2 |
2.3.2 | 2.3.2 | |
hex |
^0.2.0 |
0.2.0 | 0.2.0 | |
image_cropper |
^11.0.0 |
11.0.0 | 11.0.0 | |
image_picker |
^1.2.1 |
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.1 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
share_plus |
^12.0.1 |
12.0.1 | 12.0.1 | |
shared_preferences |
^2.5.4 |
2.5.4 | 2.5.4 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 | |
uuid |
^4.5.2 |
4.5.3 | 4.5.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.