media_kit 0.0.11 copy "media_kit: ^0.0.11" to clipboard
media_kit: ^0.0.11 copied to clipboard

A complete video & audio playback library for Flutter & Dart. Performant, stable, feature-proof & modular.

608
likes
130/ 160
pub points
98%
popularity

We analyzed this package 3 days ago, and awarded it 130 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

Failed to verify repository URL.

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: media_kit,
    • contains a version property, and,
    • does not contain a publish_to property.

media_kit/pubspec.yaml from the repository URL mismatch: expected https://github.com/alexmercerind/media_kit but got https://github.com/media-kit/media-kit.

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

OK
Provide documentation
20 / 20trigger folding of the section

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

297 out of 441 API elements (67.3 %) have documentation comments.

Some symbols that are missing documentation: bindings, bindings.INT8_MAX, bindings.INT8_MIN, bindings.INT16_MAX, bindings.INT16_MIN.

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

failed
Platform support
20 / 20trigger folding of the section

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 not compatible with platform Web

Because:

  • package:media_kit/media_kit.dart that imports:
  • package:media_kit/src/player/player.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:media_kit/media_kit.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/utils/android_asset_loader.dart that imports:
  • package:media_kit/src/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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 32 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/media_kit.dart:1:1

  ╷
1 │ /// This file is a part of media_kit (https://github.com/alexmercerind/media_kit).
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Dangling library doc comment.

lib/src/media_kit.dart:1:1

  ╷
1 │ /// This file is a part of media_kit (https://github.com/alexmercerind/media_kit).
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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
ffi ^2.0.1 2.1.3 2.1.3
http ^0.13.4 0.13.6 1.2.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.0+3
uri_parser ^2.0.2 2.0.2 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
http_parser - 4.1.1 4.1.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.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.13.4` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.

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.15, Dart 3.5.4.

Check the analysis log for details.

608
likes
130
pub points
98%
popularity
screenshot

Publisher

verified publishermedia-kit.dev

A complete video & audio playback library for Flutter & Dart. Performant, stable, feature-proof & modular.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.github.com

License

MIT (license)

Dependencies

collection, ffi, http, meta, path, safe_local_storage, synchronized, uri_parser

More

Packages that depend on media_kit