media_kit 1.1.10+1 copy "media_kit: ^1.1.10+1" to clipboard
media_kit: ^1.1.10+1 copied to clipboard

A cross-platform video player & audio player for Flutter & Dart. Performant, stable, feature-proof & modular.

684
likes
140/ 160
pub points
53.9k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

430 out of 646 API elements (66.6 %) have documentation comments.

Some symbols that are missing documentation: allocation, allocation.HEAP_ZERO_MEMORY, allocation.PosixCalloc, allocation.PosixCallocNative, allocation.PosixFree.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:media_kit/media_kit.dart that imports:
  • package:media_kit/src/player/web/player/player.dart that imports:
  • package:media_kit/src/player/web/player/stub.dart that imports:
  • package:media_kit/src/player/platform_player.dart that imports:
  • package:media_kit/src/models/player_stream.dart that imports:
  • package:media_kit/src/models/playlist.dart that imports:
  • package:media_kit/src/models/media/media.dart that imports:
  • package:media_kit/src/models/media/media_native.dart that imports:
  • package:media_kit/src/player/native/utils/android_content_uri_provider.dart that imports:
  • package:media_kit/src/player/native/utils/isolates.dart that imports:
  • dart:isolate

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.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 77 issues. Showing the first 2:

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/ffi/src/utf16.dart:59:30

   ╷
59 │       final char = codeUnits.elementAt(i).value;
   │                              ^^^^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/generated/libmpv/bindings.dart:98:71

   ╷
98 │   /// Some mpv APIs (not necessarily all) accept a name in the form "@<id>" in
   │                                                                       ^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
collection ^1.17.0 1.19.1 1.19.1
http >=0.13.0 <2.0.0 1.3.0 1.3.0
image ^4.0.17 4.5.2 4.5.2
js ^0.6.7 0.6.7 0.7.2
meta ^1.8.0 1.16.0 1.16.0
path ^1.8.0 1.9.1 1.9.1
safe_local_storage ^1.0.2 1.0.2 2.0.1
synchronized ^3.1.0 3.3.0+3 3.3.1
universal_platform ^1.0.0+1 1.1.0 1.1.0
uri_parser ^2.0.2 2.0.2 3.0.0
uuid >=2.0.0 <5.0.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
async - 2.13.0 2.13.0
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.4
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
petitparser - 6.1.0 6.1.0
posix - 6.0.1 6.0.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.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.6.7` on js does not support the stable version `0.7.0`.

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

The constraint `^1.0.2` on safe_local_storage does not support the stable version `2.0.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
684
likes
140
points
53.9k
downloads
screenshot

Publisher

verified publishermedia-kit.dev

Weekly Downloads

A cross-platform video player & audio player for Flutter & Dart. Performant, stable, feature-proof & modular.

Repository (GitHub)

Topics

#video #video-player #audio #audio-player #cross-platform

Documentation

API reference

License

MIT (license)

Dependencies

collection, http, image, js, meta, path, safe_local_storage, synchronized, universal_platform, uri_parser, uuid

More

Packages that depend on media_kit