zw_basic 1.0.5
zw_basic: ^1.0.5 copied to clipboard
Flutter基于Getx的框架库,包含路由管理 状态控制 网络请求 网络请求不同状态Ui展示 失败重试 日志打印 刷新组件 屏幕适配 吐司提示 等
We analyzed this package 20 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
109 out of 296 API elements (36.8 %) have documentation comments.
Some symbols that are missing documentation: AppColors, AppColors.AppColors, AppColors.AppColors.AppColors.new, AppColors.AppColors.appBarBackground, AppColors.AppColors.appBarText.
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:zw_basic/base/BaseController.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:zw_basic/base/BaseController.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:zw_basic/base/BaseController.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:zw_basic/base/BaseController.dartthat declares support for platforms:Android,iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/zw_basic/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 45 issues. Showing the first 2:
INFO: The file name 'BaseController.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/base/BaseController.dart
INFO: Statements in an if should be enclosed in a block.
lib/base/BaseController.dart:69:7
╷
69 │ _viewState.value = ViewState.loading;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/base/BaseController.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
dio |
^5.9.0 |
5.9.0 | 5.9.0 | |
easy_refresh |
^3.4.0 |
3.4.0 | 3.4.0 | |
flutter_screenutil |
^5.9.3 |
5.9.3 | 5.9.3 | |
fluttertoast |
^9.0.0 |
9.0.0 | 9.0.0 | |
get |
^4.7.2 |
4.7.3 | 4.7.3 | |
logger |
^2.6.0 |
2.6.2 | 2.6.2 | |
lottie |
^3.3.2 |
3.3.2 | 3.3.2 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
sqflite |
^2.4.2 |
2.4.2 | 2.4.2 | |
url_launcher |
^6.3.2 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
posix |
- | 6.0.3 | 6.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.