app_network_kit 0.0.2
app_network_kit: ^0.0.2 copied to clipboard
利用网络环境即可完成初始化的网络库.
We analyzed this package 31 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
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
99 out of 311 API elements (31.8 %) have documentation comments.
Some symbols that are missing documentation: app_network_kit, app_network_kit.AppListCacheLevel, app_network_kit.AppMockManager, app_network_kit.AppMockManager.AppMockManager.new, app_network_kit.AppMockManager.tryDealApi.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:flutter_environment_base/src/device/device_info_util.dartthat imports:package:http_proxy/http_proxy.dartthat imports:package:flutter_user_certificates_android/flutter_user_certificates_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:flutter_environment_base/src/device/device_adapt_page.dartthat imports:package:flutter_demo_kit/flutter_demo_kit.dartthat imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:flutter_environment_base/src/device/device_adapt_page.dartthat imports:package:flutter_demo_kit/flutter_demo_kit.dartthat imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:flutter_environment_base/src/device/device_adapt_page.dartthat imports:package:flutter_demo_kit/flutter_demo_kit.dartthat imports:package:flutter_demo_kit/baseutil/cjts_toast_util.dartthat imports:package:fluttertoast/fluttertoast.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:app_network_kit/app_network_kit.dartthat imports:package:app_network_kit/src/mock/app_api_mock_manager.dartthat imports:package:flutter_environment_base/flutter_environment_base.dartthat imports:package:flutter_environment_base/src/device/device_info_page.dartthat imports:package:flutter_environment_base/src/device/device_info_util.dartthat imports:package:http_proxy/http_proxy.dartthat declares support for platforms:Android,iOS.
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
ERROR: The named parameter 'withLoading' isn't defined.
lib/src/base/mock_network_manager.dart:86:7
╷
86 │ withLoading: withLoading,
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base/mock_network_manager.dart
ERROR: The method 'getMediaType' isn't defined for the type 'AppNetworkManager'.
lib/src/upload/app_upload_channel_manager.dart:32:19
╷
32 │ mediaType = getMediaType(localPath);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/upload/app_upload_channel_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
android_id |
^0.3.3 |
0.3.6 | 0.5.0 | |
connectivity_plus |
^3.0.3 |
3.0.6 | 7.0.0 | |
device_info_plus |
^8.1.0 |
8.2.2 | 12.2.0 | |
dio |
^4.0.0 |
4.0.6 | 5.9.0 | |
flutter_effect_kit |
^0.0.1 |
0.0.2 | 0.0.2 | |
flutter_environment_base |
^0.0.2 |
0.0.3 | 0.0.3 | |
flutter_foundation_base |
^0.0.2 |
0.0.10 | 0.0.10 | |
flutter_image_process |
^0.0.2 |
0.0.8 | 0.0.8 | |
flutter_log_with_env |
^0.0.1 |
0.0.5 | 0.0.5 | |
flutter_native_timezone |
^2.0.0 |
2.0.0 | 2.0.0 | |
flutter_network_base |
^0.0.2 |
0.0.5 | 0.0.5 | |
flutter_network_kit |
^0.0.3 |
0.0.8 | 0.0.8 | |
flutter_overlay_kit |
^0.0.2 |
0.0.4 | 0.0.4 | |
flutter_secure_storage |
^8.0.0 |
8.1.0 | 9.2.4 | |
package_info_plus |
^1.4.2 |
1.4.3+1 | 9.0.0 | |
path_provider |
^2.0.4 |
2.1.5 | 2.1.5 | |
shared_preferences |
^2.0.13 |
2.5.3 | 2.5.3 | |
tencent_cos |
^1.0.6 |
1.0.8 | 1.0.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.1 | 9.0.0 | |
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.2 | 4.0.2 | |
build_config |
- | 1.2.0 | 1.2.0 | |
cached_network_image |
- | 3.3.1 | 3.4.1 | |
cached_network_image_platform_interface |
- | 4.0.0 | 4.1.1 | |
cached_network_image_web |
- | 1.2.0 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.5 | 0.3.5 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.3 | 3.1.3 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
dio_http_cache_cjfork |
- | 0.0.1 | 0.0.1 | |
event_bus |
- | 2.0.1 | 2.0.1 | |
extended_image |
- | 7.0.2 | 10.0.1 | |
extended_image_library |
- | 3.5.2 | 5.0.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_baseui_kit |
- | 0.0.4 | 0.0.4 | |
flutter_cache_manager |
- | 3.3.1 | 3.4.1 | |
flutter_demo_kit |
- | 0.0.4 | 0.0.4 | |
flutter_easyloading |
- | 3.0.5 | 3.0.5 | |
flutter_easyrefresh |
- | 2.2.2 | 2.2.2 | Discontinued |
flutter_image_compress |
- | 2.4.0 | 2.4.0 | |
flutter_image_compress_common |
- | 1.0.6 | 1.0.6 | |
flutter_image_compress_macos |
- | 1.0.3 | 1.0.3 | |
flutter_image_compress_ohos |
- | 0.0.3 | 0.0.3 | |
flutter_image_compress_platform_interface |
- | 1.0.5 | 1.0.5 | |
flutter_image_compress_web |
- | 0.1.5 | 0.1.5 | |
flutter_json_viewer_new |
- | 0.0.2 | 0.0.2 | |
flutter_log_base |
- | 0.0.13 | 0.0.13 | |
flutter_optimize_interacte |
- | 0.0.1 | 0.0.1 | |
flutter_robot_base |
- | 0.0.3 | 0.0.3 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 2.1.1 | 4.0.0 | |
flutter_spinkit |
- | 5.2.2 | 5.2.2 | |
flutter_user_certificates_android |
- | 0.0.1 | 0.0.1 | |
fluttertoast |
- | 8.2.14 | 9.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
http |
- | 0.13.6 | 1.6.0 | |
http_client_helper |
- | 2.0.4 | 3.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
http_proxy |
- | 1.2.3 | 1.2.3 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
json_serializable |
- | 6.11.1 | 6.11.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
lottie |
- | 2.7.0 | 3.3.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 3.2.1 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
photo_manager |
- | 2.8.2 | 3.7.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
pull_to_refresh |
- | 2.0.0 | 2.0.0 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.5 | 2.5.5 | |
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_gen |
- | 4.0.2 | 4.0.2 | |
source_helper |
- | 1.3.8 | 1.3.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
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 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
toast |
- | 0.3.0 | 0.3.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_compress |
- | 3.1.4 | 3.1.4 | |
video_thumbnail |
- | 0.5.6 | 0.5.6 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 3.1.4 | 5.15.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^0.3.3` on android_id does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions android_id to update the constraint.
The constraint `^3.0.3` on connectivity_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions connectivity_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.23.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.