smart_utils 1.0.3
smart_utils: ^1.0.3 copied to clipboard
一个简单的webview基本壳子的工具库.
We analyzed this package 3 days ago, and awarded it 80 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/lonelyWalkor/flutter_smart_utils was unreachable. Make sure that the website is reachable via HEAD requests.
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: CPL-1.0.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting smart_utils... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerSHLGCX/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.4.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/analyzerSHLGCX/pub-cache/[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:198:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:281:22)
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:smart_utils/smart_utils.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:smart_utils/smart_utils.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:smart_utils/smart_utils.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:smart_utils/smart_utils.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 174 issues. Showing the first 2:
ERROR: Target of URI hasn't been generated: 'package:flutter_blue_plus/gen/flutterblueplus.pb.dart'.
lib/BlueToothPrint.dart:9:8
╷
9 │ import 'package:flutter_blue_plus/gen/flutterblueplus.pb.dart' as photo;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/BlueToothPrint.dart
ERROR: This expression has a type of 'void' so its value can't be used.
lib/BlueToothPrint.dart:29:45
╷
29 │ static final FlutterBluePlus _blueTooth = FlutterBluePlus.instance;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/BlueToothPrint.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ai_barcode |
^3.2.1 |
3.2.7 | 3.2.7 | |
amap_flutter_location |
^3.0.0 |
3.0.0 | 3.0.0 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
esc_pos_utils_plus |
^2.0.1+6 |
2.0.1+6 | 2.0.4 | |
event_bus |
^2.0.0 |
2.0.1 | 2.0.1 | |
flutter_blue_plus |
^1.3.1 |
1.36.8 | 2.1.0 | |
flutter_tts |
^3.6.2 |
3.8.5 | 4.2.5 | |
flutter_xupdate |
^2.0.3 |
2.0.4 | 3.0.0 | |
fluttertoast |
^8.0.9 |
8.2.14 | 9.0.0 | |
gallery_saver |
^2.3.2 |
2.3.2 | 2.3.2 | |
image |
^3.1.3 |
3.3.0 | 4.7.2 | |
image_picker |
^0.8.5+3 |
0.8.9 | 1.2.1 | |
jpush_flutter |
2.4.0 |
2.4.0 | 3.4.0 | |
perfect_volume_control |
^1.0.5 |
1.0.6 | 1.0.6 | |
permission_handler |
^10.2.0 |
10.4.5 | 12.0.1 | |
plugin_platform_interface |
^2.1.3 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.0.15 |
2.5.4 | 2.5.4 | |
url_launcher |
^6.1.7 |
6.3.2 | 6.3.2 | |
wakelock |
^0.6.2 |
0.6.2 | 0.6.2 | Discontinued |
webview_flutter |
^3.0.4 |
3.0.4 | 4.13.1 | |
wechat_kit |
^4.0.3 |
4.0.4 | 6.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ai_barcode_platform_interface |
- | 3.0.1 | 3.0.1 | |
ai_barcode_web |
- | 3.0.2 | 3.0.2 | |
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bluez |
- | 0.8.3 | 0.8.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
file_selector_linux |
- | 0.9.4 | 0.9.4 | |
file_selector_macos |
- | 0.9.5 | 0.9.5 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+5 | 0.9.3+5 | |
flutter_blue_plus_android |
- | 7.0.4 | 8.1.0 | |
flutter_blue_plus_darwin |
- | 7.0.3 | 8.1.0 | |
flutter_blue_plus_linux |
- | 7.0.3 | 8.1.0 | |
flutter_blue_plus_platform_interface |
- | 7.0.0 | 8.1.0 | |
flutter_blue_plus_web |
- | 7.0.2 | 8.1.0 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
hex |
- | 0.2.0 | 0.2.0 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+10 | 0.8.13+10 | |
image_picker_for_web |
- | 2.2.0 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+3 | 0.8.13+3 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 1.0.6 | 2.0.0 | |
package_info_plus |
- | 1.4.3+1 | 9.0.0 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 3.2.1 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 |
- | 10.3.6 | 13.0.1 | |
permission_handler_apple |
- | 9.1.4 | 9.4.7 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
permission_handler_windows |
- | 0.1.3 | 0.2.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
qr |
- | 3.0.2 | 3.0.2 | |
qr_flutter |
- | 4.1.0 | 4.1.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
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 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_html |
- | 2.3.0 | 2.3.0 | |
universal_io |
- | 2.3.1 | 2.3.1 | |
url_launcher_android |
- | 6.3.28 | 6.3.28 | |
url_launcher_ios |
- | 6.3.6 | 6.3.6 | |
url_launcher_linux |
- | 3.2.2 | 3.2.2 | |
url_launcher_macos |
- | 3.2.5 | 3.2.5 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wakelock_macos |
- | 0.4.0 | 0.4.0 | |
wakelock_platform_interface |
- | 0.3.0 | 0.3.0 | |
wakelock_web |
- | 0.4.0 | 0.4.0 | |
wakelock_windows |
- | 0.2.1 | 0.2.1 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 2.10.4 | 4.10.11 | |
webview_flutter_platform_interface |
- | 1.9.5 | 2.14.0 | |
webview_flutter_wkwebview |
- | 2.9.5 | 3.23.5 | |
win32 |
- | 3.1.4 | 5.15.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 12 issues. Showing the first 2:
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
The constraint `^1.3.1` on flutter_blue_plus does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_blue_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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.