jk_flutter_lib 0.0.5
jk_flutter_lib: ^0.0.5 copied to clipboard
wujingshan 个人维护的一套Flutter组件库
We analyzed this package 8 days ago, and awarded it 90 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.
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.5").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
368 out of 924 API elements (39.8 %) have documentation comments.
Some symbols that are missing documentation: jk_flutter_lib, jk_flutter_lib.BuildContextExtensions, jk_flutter_lib.BuildContextExtensions.textTheme, jk_flutter_lib.BuildContextExtensions.theme, jk_flutter_lib.CalculateUtils.
0/10 points: Package has an example and has no issues with screenshots
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.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 `iOS`.
Because:
package:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.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 `Linux`.
Because:
package:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.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 `macOS`.
Because:
package:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.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 not compatible with platform Web
Because:
package:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:jk_flutter_lib/jk_flutter_lib.dartthat imports:package:jk_flutter_lib/src/interface/utils/device_info_utils.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 84 issues. Showing the first 2:
WARNING: The 'authors' field is no longer used and can be removed.
pubspec.yaml:7:1
╷
7 │ authors:
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze pubspec.yaml
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/components/basic/button/jk_button.dart:154:60
╷
154 │ (plain || isLink) ? Colors.transparent : typeColor.withOpacity(0.45);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/basic/button/jk_button.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
decimal |
^3.2.4 |
3.2.6 | 3.2.6 | |
device_info_plus |
^11.3.0 |
11.5.0 | 13.2.0 | |
dio |
^5.9.2 |
5.11.0 | 5.11.0 | |
retrofit |
^4.5.0 |
4.10.0 | 4.10.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
dio_web_adapter |
- | 2.2.1 | 2.2.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rational |
- | 2.2.3 | 2.2.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
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.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
win32_registry |
- | 2.1.0 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus 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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.
