custom_y_player 1.0.7
custom_y_player: ^1.0.7 copied to clipboard
YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget
We analyzed this package 10 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: custom_y_player, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: custom_y_player.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.7").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
55 out of 64 API elements (85.9 %) have documentation comments.
Some symbols that are missing documentation: y_player, y_player.YPlayerController.speed, y_player.YPlayerController.withHighestBitrate, y_player.YPlayerInitializer.YPlayerInitializer.new, y_player.YPlayerState.YPlayerState.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_main.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dartthat imports:package:volume_controller/volume_controller.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:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_main.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.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:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_main.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.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 `Linux`.
Because:
package:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_main.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.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:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_main.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.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.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:custom_y_player/y_player.dartthat imports:package:custom_y_player/src/y_player_controller.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/y_player_controller.dart:175:3
╷
175 │ withHighestBitrate(exp.StreamManifest manifest) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/y_player_controller.dart
/tmp/pana_TEFRLM/lib/src/quality_selection_sheet.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
media_kit |
^1.2.0 |
1.2.1 | 1.2.1 | |
media_kit_libs_video |
^1.0.6 |
1.0.7 | 1.0.7 | |
media_kit_video |
^1.3.0 |
1.3.1 | 1.3.1 | |
youtube_explode_dart |
^2.4.0 |
2.5.2 | 2.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
freezed_annotation |
- | 3.1.0 | 3.1.0 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.5.4 | 4.5.4 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
media_kit_libs_android_video |
- | 1.3.8 | 1.3.8 | |
media_kit_libs_ios_video |
- | 1.1.4 | 1.1.4 | |
media_kit_libs_linux |
- | 1.2.1 | 1.2.1 | |
media_kit_libs_macos_video |
- | 1.1.4 | 1.1.4 | |
media_kit_libs_windows_video |
- | 1.0.11 | 1.0.11 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
safe_local_storage |
- | 2.0.1 | 2.0.1 | |
screen_brightness_android |
- | 2.1.3 | 2.1.3 | |
screen_brightness_platform_interface |
- | 2.1.0 | 2.1.0 | |
simple_sparse_list |
- | 0.1.4 | 0.1.4 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.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 | |
unicode |
- | 1.1.8 | 1.1.8 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
uri_parser |
- | 3.0.0 | 3.0.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
volume_controller |
- | 3.4.0 | 3.4.0 | |
wakelock_plus |
- | 1.4.0 | 1.4.0 | |
wakelock_plus_platform_interface |
- | 1.3.0 | 1.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xml |
- | 6.6.1 | 6.6.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.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.