kplayer_with_dart_vlc 0.2.1 copy "kplayer_with_dart_vlc: ^0.2.1" to clipboard
kplayer_with_dart_vlc: ^0.2.1 copied to clipboard

kplayer wrapper for dart_vlc

0
likes
80/ 160
pub points
38
downloads

We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):

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

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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/flutter/flutter/issues?q=is:issue is:open label:"kplayer" was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: BSD-3-Clause.

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

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

22 out of 125 API elements (17.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: dart_vlc_example, dart_vlc_example.DartVLCExample, dart_vlc_example.DartVLCExample.DartVLCExample.new, dart_vlc_example.DartVLCExampleState, dart_vlc_example.DartVLCExampleState.DartVLCExampleState.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:kplayer_with_dart_vlc/kplayer_with_dart_vlc.dart that imports:
  • package:dart_vlc/dart_vlc.dart that declares support for platforms: iOS, Windows, Linux, macOS.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 20 issues. Showing the first 2:

WARNING: The declaration 'Media._' isn't referenced.

lib/fake_dart_vlc.dart:72:15

   ╷
72 │   const Media._({
   │               ^
   ╵

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

WARNING: A value for optional parameter 'startTime' isn't ever given.

lib/fake_dart_vlc.dart:76:10

   ╷
76 │     this.startTime: Duration.zero,
   │          ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fake_dart_vlc.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
dart_vlc ^0.1.8 0.1.9 0.4.0 Discontinued
kplayer_platform_interface ^0.2.1 0.2.2 0.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
audio_video_progress_bar - 0.11.0 2.0.3
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
dart_vlc_ffi - 0.1.8 0.2.0+1
ffi - 1.2.1 2.1.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.0.15 2.1.5
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.0.7 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.1.4 2.1.5
win32 - 2.6.1 5.12.0
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.1.8` on dart_vlc does not support the stable version `0.2.0`.

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

The constraint `^0.2.1` on kplayer_platform_interface does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions kplayer_platform_interface 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 3 errors:

  • UNDEFINED_GETTER - lib/dart_vlc_example.dart:60:19 - The getter 'errorStream' isn't defined for the type 'Player'.
  • UNDEFINED_NAMED_PARAMETER - lib/dart_vlc_example.dart:120:19 - The named parameter 'playlistLength' isn't defined.
  • UNDEFINED_METHOD - lib/dart_vlc_example.dart:686:48 - The method 'previous' isn't defined for the type 'Player'.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: