yb_flutter_lib_core 0.0.2+3
yb_flutter_lib_core: ^0.0.2+3 copied to clipboard
flutter quick core lib, like network manager、cache manager、permission manager、utils、base class...
We analyzed this package 2 days ago, and awarded it 140 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
121 out of 181 API elements (66.9 %) have documentation comments.
Some symbols that are missing documentation: cache_util, cache_util.CacheUtil.CacheUtil.new, cache_util.CacheUtil.clearCache, cache_util.CacheUtil.getTotalCache, fast_click_util.
10/10 points: Package has 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:yb_flutter_lib_core/yb_flutter_lib_core.dartthat imports:package:yb_flutter_lib_core/utils/permission_util.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `macOS`.
Because:
package:yb_flutter_lib_core/yb_flutter_lib_core.dartthat imports:package:yb_flutter_lib_core/utils/permission_util.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows.
Package does not support platform `Web`.
Because:
package:yb_flutter_lib_core/yb_flutter_lib_core.dartthat imports:package:yb_flutter_lib_core/utils/permission_util.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
INFO: Missing type annotation.
lib/cache/yb_preference.dart:8:10
╷
8 │ static init() async {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cache/yb_preference.dart
INFO: Missing type annotation.
lib/cache/yb_preference.dart:13:10
╷
13 │ static setIntCache({required String name, int? value, int defaultValue = 0}) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cache/yb_preference.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
common_utils |
^2.1.0 |
2.1.0 | 2.1.0 | |
date_format |
^2.0.4 |
2.0.9 | 2.0.9 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
logger |
^1.1.0 |
1.4.0 | 2.6.2 | |
path_provider |
^2.0.9 |
2.1.5 | 2.1.5 | |
permission_handler |
^10.2.0 |
10.4.5 | 12.0.1 | |
shared_preferences |
^2.0.7 |
2.5.4 | 2.5.4 | |
url_launcher |
^6.1.5 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 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.1.0` on logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions logger 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.