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

kplayer wrapper for dart_vlc

0
likes
90/ 160
pub points
36
downloads

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

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

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 60 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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

28 out of 128 API elements (21.9 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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.

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
Pass static analysis
30 / 50trigger folding of the section

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

Found 21 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
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
dart_vlc ^0.1.8 0.1.9 0.4.0
flutter flutter 0.0.0 0.0.0
kplayer_platform_interface ^0.2.1 0.2.2 0.4.2
Transitive dependencies
Package Constraint Compatible Latest
audio_video_progress_bar - 0.11.0 2.0.3
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
dart_vlc_ffi - 0.1.8 0.2.0+1
ffi - 1.2.1 2.1.3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.0.15 2.1.5
path_provider_android - 2.2.15 2.2.15
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
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
win32 - 2.6.1 5.9.0
xdg_directories - 1.1.0 1.1.0

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

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.

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 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.