hgg_view 1.0.0
hgg_view: ^1.0.0 copied to clipboard
基础 Hgg UI
We analyzed this package 28 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.
Homepage URL doesn't exist.
At the time of the analysis http://www.redhome.top/ was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
1337 out of 2950 API elements (45.3 %) have documentation comments.
Some symbols that are missing documentation: hgg_view, hgg_view.AddSubscription, hgg_view.ApiInterceptor.ApiInterceptor.new, hgg_view.ApiInterceptor.doShowErrorMsg, hgg_view.ApiInterceptor.isShowErrorMsg.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:hgg_view/hgg_view.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_picker_dialog.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_pick_util.dartthat imports:package:wechat_camera_picker/wechat_camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker_viewer.dartthat imports:package:wechat_camera_picker/src/constants/constants.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:hgg_view/hgg_view.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_picker_dialog.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_pick_util.dartthat imports:package:wechat_camera_picker/wechat_camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker_viewer.dartthat imports:package:wechat_camera_picker/src/constants/constants.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:hgg_view/hgg_view.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_picker_dialog.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_pick_util.dartthat imports:package:wechat_camera_picker/wechat_camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker_viewer.dartthat imports:package:camera/camera.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Web`.
Because:
package:hgg_view/hgg_view.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_picker_dialog.dartthat imports:package:hgg_view/src/dialogs/image_picker/x_image_pick_util.dartthat imports:package:wechat_camera_picker/wechat_camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker.dartthat imports:package:wechat_camera_picker/src/widgets/camera_picker_viewer.dartthat imports:package:wechat_camera_picker/src/constants/constants.dartthat imports:package:photo_manager/photo_manager.dartthat declares support for platforms:Android,iOS,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 74 issues. Showing the first 2:
ERROR: The method 'XImageAsset' isn't defined for the type 'XButton'.
lib/src/widgets/button/x_button.dart:67:11
╷
67 │ XImageAsset(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/button/x_button.dart
ERROR: The method 'XImageAsset' isn't defined for the type 'XButton'.
lib/src/widgets/button/x_button.dart:84:11
╷
84 │ XImageAsset(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/button/x_button.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
extended_image |
^5.1.2 |
5.1.3 | 10.0.1 | |
extended_text_field |
^8.0.0 |
8.0.0 | 16.0.2 | |
flutter_swiper_null_safety |
^1.0.2 |
1.0.2 | 1.0.2 | |
hgg_base |
^1.0.3 |
1.0.5 | 1.0.8 | |
pull_to_refresh |
^2.0.0 |
2.0.0 | 2.0.0 | |
wechat_assets_picker |
^6.2.1 |
6.2.4 | 10.1.0 | |
wechat_camera_picker |
^2.5.0 |
2.6.5 | 4.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
bot_toast |
- | 4.1.3 | 4.1.3 | |
camera |
- | 0.9.8+1 | 0.11.3 | |
camera_android |
- | 0.9.8+3 | 0.10.10+14 | |
camera_avfoundation |
- | 0.9.22+8 | 0.9.22+8 | |
camera_platform_interface |
- | 2.12.0 | 2.12.0 | |
camera_web |
- | 0.2.1+6 | 0.3.5+3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dio |
- | 4.0.6 | 5.9.0 | |
extended_image_library |
- | 3.6.0 | 5.0.1 | |
extended_text_library |
- | 7.0.0 | 12.0.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
flutter_screenutil |
- | 5.9.3 | 5.9.3 | |
get |
- | 4.7.3 | 4.7.3 | |
get_storage |
- | 2.1.1 | 2.1.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_client_helper |
- | 3.0.0 | 3.0.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logger |
- | 1.4.0 | 2.6.2 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
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 | |
photo_manager |
- | 1.3.10 | 3.8.3 | |
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 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
video_player |
- | 2.10.1 | 2.10.1 | |
video_player_android |
- | 2.9.1 | 2.9.1 | |
video_player_avfoundation |
- | 2.8.9 | 2.8.9 | |
video_player_platform_interface |
- | 6.6.0 | 6.6.0 | |
video_player_web |
- | 2.4.0 | 2.4.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 4 issues. Showing the first 2:
The constraint `^5.1.2` on extended_image does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions extended_image to update the constraint.
The constraint `^8.0.0` on extended_text_field does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions extended_text_field to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/widgets/x_image_network.dart:40:23- The argument type 'BorderRadius?' can't be assigned to the parameter type 'BorderRadiusGeometry'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.