junny_utils 0.0.4 junny_utils: ^0.0.4 copied to clipboard
这是一个用于处理常见工具函数和扩展的 Dart 库
We analyzed this package 9 hours ago, and awarded it 115 pub points (of a possible 160):
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.
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
1177 out of 1365 API elements (86.2 %) have documentation comments.
Some symbols that are missing documentation: junny_utils
, junny_utils.BidiFormatter.BidiFormatter.RTL
, junny_utils.BidiFormatter.BidiFormatter.UNKNOWN
, junny_utils.BoolPick
, junny_utils.CanonicalizedMap.retype
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/permission_utils.dart
that imports:package:junny_utils/src/utils/device_utils.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/permission_utils.dart
that imports:package:junny_utils/src/utils/device_utils.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/directory_utils.dart
that imports:package:path_provider/path_provider.dart
that 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:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/permission_utils.dart
that imports:package:junny_utils/src/utils/device_utils.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/permission_utils.dart
that imports:package:junny_utils/src/utils/device_utils.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:junny_utils/junny_utils.dart
that imports:package:junny_utils/src/utils/utils.dart
that imports:package:junny_utils/src/utils/permission_utils.dart
that imports:package:junny_utils/src/utils/device_utils.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: 'alpha' is deprecated and shouldn't be used. Use .a.
lib/src/extensions/color_extension.dart:7:29
╷
7 │ bool get isTransparent => alpha == 0;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extensions/color_extension.dart
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g.
lib/src/extensions/color_extension.dart:13:26
╷
13 │ (Color c) => c.value == value,
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extensions/color_extension.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.18.0 |
1.19.0 | 1.19.1 |
deep_pick |
^1.1.0 |
1.1.0 | 1.1.0 |
device_info_plus |
^11.2.0 |
11.2.0 | 11.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
intl |
^0.19.0 |
0.19.0 | 0.20.1 |
package_info_plus |
^8.1.2 |
8.1.2 | 8.1.2 |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 |
permission_handler |
^11.3.1 |
11.3.1 | 11.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info_plus_platform_interface |
- | 3.0.2 | 3.0.2 |
path |
- | 1.9.1 | 1.9.1 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
permission_handler_android |
- | 12.0.13 | 12.0.13 |
permission_handler_apple |
- | 9.4.5 | 9.4.5 |
permission_handler_html |
- | 0.1.3+5 | 0.1.3+5 |
permission_handler_platform_interface |
- | 4.2.3 | 4.2.3 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
win32_registry |
- | 1.1.5 | 2.0.1 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.
Try running dart pub upgrade --major-versions intl
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.