base_lib_pub 3.7.2 base_lib_pub: ^3.7.2 copied to clipboard
This is a basic library based on Getx. In order to build applications conveniently and quickly, you can quickly integrate the basic functions needed by general applications.
We analyzed this package 21 hours ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
353 out of 737 API elements (47.9 %) have documentation comments.
Some symbols that are missing documentation: base_lib_pub
, base_lib_pub.BaseColors.cBlack
, base_lib_pub.BaseColors.cBlackTrans
, base_lib_pub.BaseColors.cBlue
, base_lib_pub.BaseColors.cBlueFacebook
.
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:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.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:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.dart
that imports:package:vibration_platform_interface/vibration_platform_interface.dart
that imports:package:vibration_platform_interface/src/method_channel_vibration.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:base_lib_pub/base_lib_pub.dart
that imports:package:base_lib_pub/src/util/vibrate_utils.dart
that imports:package:vibration/vibration.dart
that imports:package:vibration_platform_interface/vibration_platform_interface.dart
that imports:package:vibration_platform_interface/src/method_channel_vibration.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
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
ERROR: The named parameter 'filename' is required, but there's no corresponding argument.
lib/src/util/image_utils.dart:271:62
╷
271 │ final AssetEntity? imageEntity = await PhotoManager.editor.saveImage(data!, title: '保存到相册');
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/util/image_utils.dart
INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/src/extension/color_ext.dart:61:12
╷
61 │ return MaterialStatePropertyAll<Color>(this);
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/extension/color_ext.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bot_toast |
^4.1.3 |
4.1.3 | 4.1.3 |
date_format |
^2.0.7 |
2.0.9 | 2.0.9 |
device_info_plus |
^9.1.2 |
9.1.2 | 10.1.2 |
dio |
^5.4.3 |
5.7.0 | 5.7.0 |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 |
extended_image |
^8.2.0 |
8.2.4 | 8.2.4 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_image_compress |
^2.2.0 |
2.3.0 | 2.3.0 |
flutter_slidable |
^3.1.0 |
3.1.1 | 3.1.1 |
get |
^4.6.6 |
4.6.6 | 4.6.6 |
harmony_plugin |
^0.1.0 |
0.1.0 | 0.1.0 |
image_gallery_saver |
^2.0.3 |
2.0.3 | 2.0.3 |
package_info_plus |
^6.0.0 |
6.0.0 | 8.0.2 |
path |
^1.8.3 |
1.9.0 | 1.9.0 |
path_provider |
^2.1.2 |
2.1.4 | 2.1.4 |
permission_handler |
^11.3.1 |
11.3.1 | 11.3.1 |
share_plus |
^8.0.2 |
8.0.3 | 10.0.2 |
shared_preferences |
^2.2.2 |
2.3.2 | 2.3.2 |
simple_animations |
^5.0.2 |
5.0.2 | 5.0.2 |
uri_to_file |
^1.0.0 |
1.0.0 | 1.0.0 |
url_launcher |
^6.2.5 |
6.3.0 | 6.3.0 |
vibration |
^1.8.4 |
1.9.0 | 2.0.0 |
webview_flutter |
^4.7.0 |
4.9.0 | 4.9.0 |
wechat_assets_picker |
^9.0.2 |
9.2.2 | 9.2.2 |
wechat_camera_picker |
^4.2.1 |
4.3.2 | 4.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^9.1.2` on device_info_plus does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^6.0.0` on package_info_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions package_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.22.12
, Flutter 3.24.2
, Dart 3.5.2
.
Check the analysis log for details.