yb_flutter_lib_core 0.0.2+2
yb_flutter_lib_core: ^0.0.2+2 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
120 out of 180 API elements (66.7 %) 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 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: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.
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.
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.
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.
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 |
^8.1.4+2 |
8.3.0 | 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
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
decimal |
- | 3.2.4 | 3.2.4 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
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_platform_interface |
- | 3.12.0 | 4.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rational |
- | 2.2.3 | 2.2.3 | |
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 | |
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 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
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.