ecp_widget 2.2.0
ecp_widget: ^2.2.0 copied to clipboard
翼协云公共组件库
We analyzed this package 17 hours ago, and awarded it 110 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.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
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
269 out of 809 API elements (33.3 %) 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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/items/user_picker_item.dartthat imports:package:ecp_widget/widgets/round_image.dartthat imports:package:ecp_widget/widgets/ecp_cached_net_image.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/items/user_picker_item.dartthat imports:package:ecp_widget/widgets/round_image.dartthat imports:package:ecp_widget/widgets/ecp_cached_net_image.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:ecp_widget/ecp_widget.dartthat imports:package:ecp_widget/widgets/items/user_picker_item.dartthat imports:package:ecp_widget/widgets/round_image.dartthat imports:package:ecp_widget/widgets/ecp_cached_net_image.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
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.
Package does not support platform `macOS`.
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 40 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: Library names are not necessary.
lib/ecp_widget.dart:1:9
╷
1 │ library ecp_widget;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ecp_widget.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.6 | |
common_utils |
^2.1.0 |
2.1.0 | 2.1.0 | |
dict_dart_extension |
^1.0.0 |
1.1.0 | 1.1.0 | |
dict_flutter_extension |
^1.0.0 |
1.1.0 | 1.1.0 | |
ecp_global |
^2.1.0 |
2.1.0 | 2.1.0 | |
ecp_net |
^0.1.1 |
0.1.1 | 0.1.1 | |
ecp_paging |
^0.1.0 |
0.1.0 | 0.1.0 | |
ecp_theme |
^2.0.0 |
2.1.0 | 2.1.0 | |
expandable |
^5.0.1 |
5.0.1 | 5.0.1 | |
extended_tabs |
^5.0.0 |
5.0.0 | 5.0.0 | |
flutter_cache_manager |
^3.3.1 |
3.4.6 | 3.4.6 | |
flutter_html |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_html_audio |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_html_svg |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_html_table |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_html_video |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_screenutil |
^5.1.0 |
5.9.3 | 5.9.3 | |
flutter_smart_dialog |
^5.1.1 |
5.3.0 | 5.3.0 | |
flutter_status_widget |
^0.0.1 |
0.0.7 | 0.0.7 | |
flutter_svg |
^2.0.5 |
2.3.2 | 2.3.2 | |
http |
^1.2.2 |
1.6.0 | 1.6.0 | |
image_picker |
^1.1.2 |
1.2.4 | 1.2.4 | |
limited_index_list_view |
^1.0.0 |
1.0.0+1 | 1.0.0+1 | |
mobile_scanner |
^7.4.2 |
7.4.2 | 7.4.2 | |
photo_view |
^0.15.0 |
0.15.0 | 0.15.0 | |
shared_preferences |
^2.0.15 |
2.5.6 | 2.5.6 | |
table_calendar |
^3.0.6 |
3.3.0 | 3.3.0 | |
url_launcher |
^6.1.1 |
6.3.3 | 6.3.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.5.2 | 4.5.2 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.8 | 1.6.8 | |
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.3 | |
cached_network_image_web |
- | 1.3.1 | 2.0.4 | |
characters |
- | 1.4.1 | 1.4.1 | |
chewie |
- | 1.17.4 | 1.17.4 | |
chewie_audio |
- | 1.5.0 | 1.5.0 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.1.0 | 2.1.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.5+5 | 0.4.0 | |
crypto |
- | 3.0.8 | 3.0.8 | |
csslib |
- | 1.0.2 | 1.0.2 | |
cupertino_icons |
- | 1.0.9 | 2.0.0 | |
cupertino_ui |
- | 1.1.5 | 1.1.5 | |
dbus |
- | 0.8.0 | 0.8.0 | |
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 | 4.0.0 | |
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+2 | 0.9.5+2 | |
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+25 | 0.8.13+25 | |
image_picker_for_web |
- | 3.1.1 | 3.1.1 | |
image_picker_ios |
- | 0.8.13+14 | 0.8.13+14 | |
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.2 | 2.11.2 | |
image_picker_windows |
- | 0.2.2 | 0.2.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.1.1 | 1.1.1 | |
jni_flutter |
- | 1.0.4+1 | 1.0.4+1 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
list_counter |
- | 1.0.2 | 1.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
lottie |
- | 3.8.0 | 3.8.0 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
material_ui |
- | 1.9.0 | 1.9.0 | |
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.2 | 9.6.2 | |
octo_image |
- | 2.1.3 | 2.1.3 | |
package_config |
- | 3.0.0 | 3.0.0 | |
package_info_plus |
- | 10.2.2 | 10.2.2 | |
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.1.0 | 7.1.0 | |
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.4 | 6.5.4 | |
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_android |
- | 2.5.4 | 2.5.4 | |
shared_preferences_foundation |
- | 2.6.1 | 2.6.1 | |
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.5 | 2.4.5 | |
sqflite_android |
- | 2.4.5 | 2.4.5 | |
sqflite_common |
- | 2.5.14 | 2.5.14 | |
sqflite_darwin |
- | 2.4.4+1 | 2.4.4+1 | |
sqflite_platform_interface |
- | 2.4.3 | 2.4.3 | |
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.5.0 | 3.5.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.15 | 0.7.15 | |
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.5 | 1.2.5 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.4 | 1.3.4 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
video_player |
- | 2.14.1 | 2.14.1 | |
video_player_android |
- | 2.12.2 | 2.12.2 | |
video_player_avfoundation |
- | 2.12.3 | 2.12.3 | |
video_player_platform_interface |
- | 6.9.0 | 6.9.0 | |
video_player_web |
- | 2.4.0 | 2.4.0 | |
wakelock_plus |
- | 1.8.2 | 1.8.2 | |
wakelock_plus_platform_interface |
- | 1.7.0 | 1.7.0 | |
web |
- | 1.1.2 | 1.1.2 | |
win32 |
- | 6.4.0 | 6.4.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.2.2` on cached_network_image does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions cached_network_image 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.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.