media_kit 1.1.10+1 media_kit: ^1.1.10+1 copied to clipboard
A cross-platform video player & audio player for Flutter & Dart. Performant, stable, feature-proof & modular.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
.
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
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 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: Dangling library doc comment.
lib/media_kit.dart:1:1
╷
1 │ /// This file is a part of media_kit (https://github.com/media-kit/media-kit).
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/media_kit.dart
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.2.2 | 1.2.2 |
image |
^4.0.17 |
4.3.0 | 4.3.0 |
js |
^0.6.7 |
0.6.7 | 0.7.1 |
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 |
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 |
- | 3.6.1 | 3.6.1 |
async |
- | 2.12.0 | 2.12.0 |
crypto |
- | 3.0.6 | 3.0.6 |
fixnum |
- | 1.1.1 | 1.1.1 |
http_parser |
- | 4.1.1 | 4.1.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.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 |
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.
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.