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 3 days ago, and awarded it 120 pub points (of a possible 140):
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 175 API elements (69.1 %) have documentation comments.
Some symbols that are missing documentation: cache_util
, cache_util.CacheUtil.clearCache
, cache_util.CacheUtil.getTotalCache
, fast_click_util
, fast_click_util.FastClickUtil
.
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.dart
that imports:package:yb_flutter_lib_core/utils/permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
Package does not support platform `macOS`.
Because:
package:yb_flutter_lib_core/yb_flutter_lib_core.dart
that imports:package:yb_flutter_lib_core/utils/permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
Package does not support platform `Web`.
Because:
package:yb_flutter_lib_core/yb_flutter_lib_core.dart
that imports:package:yb_flutter_lib_core/utils/permission_util.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Statements in a for should be enclosed in a block.
lib/utils/cache_util.dart:49:11
╷
49 │ total += await _getTotalSizeOfFilesInDir(child);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/cache_util.dart
INFO: Empty catch block.
lib/utils/file_util.dart:22:17
╷
22 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/utils/file_util.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
common_utils |
^2.1.0 |
2.1.0 | 2.1.0 |
date_format |
^2.0.4 |
2.0.7 | 2.0.7 |
dio |
^4.0.6 |
4.0.6 | 5.4.3+1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
logger |
^1.1.0 |
1.4.0 | 2.2.0 |
path_provider |
^2.0.9 |
2.1.3 | 2.1.3 |
permission_handler |
^10.2.0 |
10.4.5 | 11.3.1 |
shared_preferences |
^2.0.7 |
2.2.3 | 2.2.3 |
url_launcher |
^6.1.5 |
6.2.6 | 6.2.6 |
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
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.