ecp_widget 2.0.18
ecp_widget: ^2.0.18 copied to clipboard
翼协云公共组件库
We analyzed this package 10 hours ago, and awarded it 95 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 https://gitlab.ctbiyi.com/ecp/app/ecp_widget was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
261 out of 786 API elements (33.2 %) have documentation comments.
Some symbols that are missing documentation: crumb_item, crumb_item.CrumbItem.CrumbItem.new, crumb_item.CrumbItem.crumb, crumb_item.CrumbItem.last, crumb_item.CrumbItem.onDisplay.
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:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/pickers/ecp_user_picker.dartthat imports:package:ecp_widget/widgets/pickers/selected_list.dartthat imports:package:ecp_paging/ecp_paging.dartthat imports:package:ecp_paging/src/paging.dartthat imports:package:ecp_net/net.dartthat imports:package:ecp_net/src/requests/net_request.dartthat imports:package:ecp_net/src/net_config.dartthat imports:package:ecp_net/src/interceptors/net_interceptor.dartthat imports:package:connectivity/connectivity.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/pickers/ecp_user_picker.dartthat imports:package:ecp_widget/widgets/pickers/selected_list.dartthat imports:package:ecp_paging/ecp_paging.dartthat imports:package:ecp_paging/src/paging.dartthat imports:package:ecp_net/net.dartthat imports:package:ecp_net/src/requests/net_request.dartthat imports:package:ecp_net/src/net_config.dartthat imports:package:ecp_net/src/interceptors/net_interceptor.dartthat imports:package:connectivity/connectivity.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `macOS`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/pickers/ecp_user_picker.dartthat imports:package:ecp_widget/widgets/pickers/department_user_repo.dartthat imports:package:ecp_global/entities/role_entity.dartthat imports:package:ecp_global/ecp_global.dartthat imports:package:ecp_global/mixins/auto_unfocus_mixin.dartthat imports:package:keyboard_utils/keyboard_utils.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/pickers/ecp_user_picker.dartthat imports:package:ecp_widget/widgets/pickers/department_user_repo.dartthat imports:package:ecp_global/entities/role_entity.dartthat imports:package:ecp_global/ecp_global.dartthat imports:package:ecp_global/mixins/auto_unfocus_mixin.dartthat imports:package:keyboard_utils/keyboard_utils.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/exts/html/ecp_html.dartthat imports:package:flutter_html_video/flutter_html_video.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/subtitle_overlay.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/exts/html/ecp_html.dartthat imports:package:flutter_html_video/flutter_html_video.dartthat imports:package:chewie/chewie.dartthat imports:package:chewie/src/material/material_desktop_controls.dartthat imports:package:chewie/src/subtitle_overlay.dartthat imports:package:chewie/src/chewie_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 issues. Showing the first 2:
WARNING: A value for optional parameter 'count' isn't ever given.
lib/widgets/ecp_icon.dart:270:10
╷
270 │ this.count = 0,
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/ecp_icon.dart
INFO: Missing type annotation.
lib/exts/html/ecp_img_ext.dart:15:33
╷
15 │ static Widget _defaultBuilder(ctx) {
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/exts/html/ecp_img_ext.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
^3.2.2 |
3.4.1 | 4.0.0 | |
common_utils |
^2.1.0 |
2.1.0 | 2.1.0 | |
dict_dart_extension |
^1.0.0 |
1.0.0 | 1.0.0 | |
dict_flutter_extension |
^1.0.0 |
1.0.1 | 1.0.1 | |
ecp_global |
^2.0.1 |
2.0.12 | 2.0.12 | |
ecp_net |
^0.0.1 |
0.0.9 | 0.0.9 | |
ecp_paging |
^0.0.1 |
0.0.8+3 | 0.0.8+3 | |
ecp_theme |
^2.0.0 |
2.0.3 | 2.0.3 | |
expandable |
^5.0.1 |
5.0.1 | 5.0.1 | |
extended_tabs |
^4.0.0 |
4.2.0 | 5.0.0 | |
flutter_cache_manager |
^3.3.1 |
3.4.2 | 3.4.2 | |
flutter_html |
^3.0.0-alpha.1 |
3.0.0 | 3.0.0 | |
flutter_html_audio |
^3.0.0-beta.2 |
3.0.0 | 3.0.0 | |
flutter_html_svg |
^3.0.0-beta.2 |
3.0.0 | 3.0.0 | |
flutter_html_table |
^3.0.0-beta.2 |
3.0.0 | 3.0.0 | |
flutter_html_video |
^3.0.0-beta.2 |
3.0.0 | 3.0.0 | |
flutter_screenutil |
^5.1.0 |
5.9.3 | 5.9.3 | |
flutter_smart_dialog |
^4.7.1 |
4.9.8+10 | 5.3.0 | |
flutter_status_widget |
^0.0.1 |
0.0.7 | 0.0.7 | |
flutter_svg |
^2.0.5 |
2.3.0 | 2.3.0 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
image_picker |
^1.1.2 |
1.2.3 | 1.2.3 | |
limited_index_list_view |
^1.0.0 |
1.0.0+1 | 1.0.0+1 | |
photo_view |
^0.15.0 |
0.15.0 | 0.15.0 | |
table_calendar |
^3.0.6 |
3.2.1 | 3.2.1 | |
url_launcher |
^6.1.1 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
cached_network_image_platform_interface |
- | 4.1.1 | 5.0.0 | |
cached_network_image_web |
- | 1.3.1 | 2.0.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
chewie |
- | 1.16.3 | 1.16.3 | |
chewie_audio |
- | 1.5.0 | 1.5.0 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.0.0 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity |
- | 3.0.6 | 3.0.6 | Discontinued |
connectivity_for_web |
- | 0.4.0+1 | 0.4.0+1 | Discontinued |
connectivity_macos |
- | 0.2.1+2 | 0.2.1+2 | |
connectivity_platform_interface |
- | 2.0.1 | 2.0.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.5+5 | 0.3.5+5 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.9 | 1.0.9 | |
dbus |
- | 0.7.15 | 0.7.15 | |
decimal |
- | 3.2.6 | 3.2.6 | |
device_frame |
- | 1.4.0 | 1.4.0 | |
device_preview |
- | 1.3.1 | 3.0.0 | |
dio |
- | 5.11.1 | 5.11.1 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
easy_refresh |
- | 3.5.1 | 3.5.1 | |
encrypt |
- | 5.0.3 | 5.0.3 | |
event_bus |
- | 2.0.1 | 2.0.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
file |
- | 7.0.1 | 7.0.1 | |
file_selector_linux |
- | 0.9.4+1 | 0.9.4+1 | |
file_selector_macos |
- | 0.9.5+1 | 0.9.5+1 | |
file_selector_platform_interface |
- | 2.7.0 | 2.7.0 | |
file_selector_windows |
- | 0.9.3+6 | 0.9.3+6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_layout_grid |
- | 2.0.8 | 2.0.8 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
get |
- | 4.7.3 | 4.7.3 | |
hooks |
- | 2.2.0 | 2.2.0 | |
html |
- | 0.15.7 | 0.15.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image_picker_android |
- | 0.8.13+23 | 0.8.13+23 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+7 | 0.8.13+7 | |
image_picker_linux |
- | 0.2.2 | 0.2.2 | |
image_picker_macos |
- | 0.2.2+1 | 0.2.2+1 | |
image_picker_platform_interface |
- | 2.11.1 | 2.11.1 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
keyboard_utils |
- | 1.3.4 | 1.3.4 | Discontinued |
list_counter |
- | 1.0.2 | 1.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
lottie |
- | 3.5.1 | 3.5.1 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
package_info_plus |
- | 10.2.1 | 10.2.1 | |
package_info_plus_platform_interface |
- | 4.1.0 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.6 | 2.1.6 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
posix |
- | 6.5.2 | 6.5.2 | |
pretty_dio_logger |
- | 1.4.0 | 1.4.0 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
quiver |
- | 3.2.2 | 3.2.2 | |
rational |
- | 2.2.3 | 2.2.3 | |
record_use |
- | 1.1.1 | 1.1.1 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences |
- | 2.5.5 | 2.5.5 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
simple_gesture_detector |
- | 0.2.1 | 0.2.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sqflite |
- | 2.4.4 | 2.4.4 | |
sqflite_android |
- | 2.4.4 | 2.4.4 | |
sqflite_common |
- | 2.5.12 | 2.5.12 | |
sqflite_darwin |
- | 2.4.4 | 2.4.4 | |
sqflite_platform_interface |
- | 2.4.2 | 2.4.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
sync_scroll_library |
- | 1.1.0 | 1.1.0 | |
synchronized |
- | 3.4.2 | 3.4.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.14 | 0.7.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.33 | 6.3.33 | |
url_launcher_ios |
- | 6.4.2 | 6.4.2 | |
url_launcher_linux |
- | 3.2.3 | 3.2.3 | |
url_launcher_macos |
- | 3.2.6 | 3.2.6 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.3 | 2.4.3 | |
url_launcher_windows |
- | 3.1.6 | 3.1.6 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_graphics |
- | 1.2.3 | 1.2.3 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.0 | 1.3.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
video_player |
- | 2.14.0 | 2.14.0 | |
video_player_android |
- | 2.12.2 | 2.12.2 | |
video_player_avfoundation |
- | 2.12.0 | 2.12.0 | |
video_player_platform_interface |
- | 6.9.0 | 6.9.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
wakelock_plus |
- | 1.8.0 | 1.8.0 | |
wakelock_plus_platform_interface |
- | 1.7.0 | 1.7.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.4.0 | 6.4.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^3.2.2` on cached_network_image does not support the stable version `4.0.0`, that was published 16 days ago.
When cached_network_image is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cached_network_image to update the constraint.
The constraint `^4.0.0` on extended_tabs does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions extended_tabs 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 5 errors:
UNDEFINED_NAMED_PARAMETER-lib/widgets/dialog/ecp_bottom_sheet_dialog.dart:42:7- The named parameter 'backType' isn't defined.UNDEFINED_IDENTIFIER-lib/widgets/dialog/ecp_bottom_sheet_dialog.dart:42:17- Undefined name 'SmartBackType'.UNDEFINED_CLASS-lib/widgets/dialog/ecp_tips_dialog.dart:24:9- Undefined class 'SmartBackType'.
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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.