custom_y_player 1.0.6 copy "custom_y_player: ^1.0.6" to clipboard
custom_y_player: ^1.0.6 copied to clipboard

YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget

35/ 160
pub points
188
downloads

We analyzed this package 15 hours ago, and awarded it 35 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: custom_y_player.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: custom_y_player,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.6").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

ERROR: Expected to find '}'.

lib/src/y_player_controller.dart:121:5

    ╷
121 │     }
    │     ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/y_player_controller.dart

INFO: Missing type annotation.

lib/src/y_player_controller.dart:176:3

    ╷
176 │   withHighestBitrate(exp.StreamManifest manifest) {
    │   ^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/y_player_controller.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/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.6 1.2.6
media_kit_libs_video ^1.0.6 1.0.7 1.0.7
media_kit_video ^1.3.0 1.3.1 2.0.1
youtube_explode_dart ^2.4.0 2.5.3 3.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dbus - 0.7.12 0.7.13
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
fixnum - 1.1.1 1.1.1
freezed_annotation - 3.1.0 3.1.0
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
image - 4.8.0 4.9.1
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 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.18.0 1.18.2
package_info_plus - 10.1.0 10.1.0
package_info_plus_platform_interface - 4.1.0 4.1.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
safe_local_storage - 2.0.3 2.0.3
screen_brightness_android - 2.1.5 2.1.5
screen_brightness_platform_interface - 2.1.1 2.1.1
simple_sparse_list - 0.1.4 0.1.4
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0+1 3.4.0+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 1.1.9 1.1.9
universal_platform - 1.1.0 1.1.0
uri_parser - 3.0.2 3.0.2
uuid - 4.5.3 4.5.3
vector_math - 2.2.0 2.3.0
volume_controller - 3.5.0 3.5.0
wakelock_plus - 1.6.1 1.6.1
wakelock_plus_platform_interface - 1.5.1 1.5.1
web - 1.1.1 1.1.1
win32 - 6.3.0 6.3.0
xml - 6.6.1 7.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.3.0` on media_kit_video does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions media_kit_video to update the constraint.

The constraint `^2.4.0` on youtube_explode_dart does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions youtube_explode_dart to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • EXPECTED_TOKEN - lib/src/y_player_controller.dart:121:5 - Expected to find '}'.

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.12, Flutter 3.44.0, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
35
points
188
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

YPlayer is a Flutter package that provides an easy-to-use YouTube video player widget

License

MIT (license)

Dependencies

flutter, media_kit, media_kit_libs_video, media_kit_video, youtube_explode_dart

More

Packages that depend on custom_y_player