nian_dev_kit 0.0.3
nian_dev_kit: ^0.0.3 copied to clipboard
念安科技-开发工具
We analyzed this package 16 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 50 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.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
70 out of 476 API elements (14.7 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: align_ruler
, align_ruler.AlignRuler
, align_ruler.AlignRuler.AlignRuler.new
, align_ruler.AlignRuler.buildWidget
, align_ruler.AlignRuler.displayName
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:nian_dev_kit/core/global.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:nian_dev_kit/core/global.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:nian_dev_kit/core/global.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:nian_dev_kit/core/global.dart
that declares support for platforms:Android
,iOS
.
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:nian_dev_kit/dev_kit.dart
that imports:package:nian_dev_kit/page/device_info/device_info_panel.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:nian_dev_kit/dev_kit.dart
that imports:package:nian_dev_kit/page/device_info/device_info_panel.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:nian_dev_kit/dev_kit.dart
that imports:package:nian_dev_kit/page/device_info/device_info_panel.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/nian_dev_kit/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
INFO: 'activeColor' is deprecated and shouldn't be used. Use activeThumbColor instead. This feature was deprecated after v3.31.0-2.0.pre.
lib/page/align_ruler/align_ruler.dart:183:80
╷
183 │ child: Switch(value: _switched, onChanged: _switchChanged, activeColor: Colors.red),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/page/align_ruler/align_ruler.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/page/align_ruler/align_ruler.dart:277:89
╷
277 │ decoration: BoxDecoration(shape: BoxShape.circle, color: Colors.red.withOpacity(0.8)),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/page/align_ruler/align_ruler.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
device_info_plus |
^10.1.0 |
10.1.2 | 12.1.0 | |
fluttertoast |
^8.2.4 |
8.2.14 | 9.0.0 | |
get_server |
^1.2.1 |
1.2.1 | 1.2.1 | |
image |
^4.2.0 |
4.5.4 | 4.5.4 | |
logger |
^2.3.0 |
2.6.1 | 2.6.1 | |
network_info_plus |
^5.0.3 |
5.0.3 | 7.0.0 | |
package_info_plus |
^8.0.0 |
8.3.1 | 9.0.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.2 |
2.1.5 | 2.1.5 | |
platform |
^3.1.4 |
3.1.6 | 3.1.6 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
rxdart |
^0.27.7 |
0.27.7 | 0.28.0 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 | |
sqlite_viewer |
^1.0.5 |
1.0.5 | 1.0.5 | |
string_scanner |
^1.2.0 |
1.4.1 | 1.4.1 | |
system_info2 |
^4.0.0 |
4.1.0 | 4.1.0 | |
touch_indicator |
^2.0.0 |
2.0.0 | 2.0.0 | |
tuple |
^2.0.2 |
2.0.2 | 2.0.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
auth_header |
- | 3.0.1 | 3.0.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
globbing |
- | 1.0.0 | 1.0.0 | Discontinued |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
jaguar_jwt |
- | 3.0.0 | 3.0.0 | |
json_table |
- | 2.0.1 | 2.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
network_info_plus_platform_interface |
- | 2.0.2 | 2.0.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
posix |
- | 6.0.3 | 6.0.3 | |
shared_preferences_android |
- | 2.4.14 | 2.4.14 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
win32_registry |
- | 1.1.5 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^10.1.0` on device_info_plus does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^8.2.4` on fluttertoast does not support the stable version `9.0.0`, that was published 11 days ago.
When fluttertoast is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions fluttertoast
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.