oghref_media_control 4.0.1
oghref_media_control: ^4.0.1 copied to clipboard
Additional package for providing mixin to build widget for playing multimedia resources
We analyzed this package 13 days ago, and awarded it 120 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
15 out of 15 API elements (100.0 %) have documentation comments.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/utils/wakelock.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dartthat imports:package:volume_controller/volume_controller.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dartthat imports:package:screen_brightness/screen_brightness.dartthat declares support for platforms:Android,iOS,Windows,macOS.
Package does not support platform `macOS`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dartthat imports:package:volume_controller/volume_controller.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dartthat imports:package:media_kit_video/media_kit_video_controls/src/controls/material.dartthat imports:package:screen_brightness/screen_brightness.dartthat declares support for platforms:Android,iOS,Windows,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:oghref_media_control/oghref_media_control.dartthat imports:package:oghref_media_control/src/playback.dartthat imports:package:media_kit_video/media_kit_video.dartthat imports:package:media_kit_video/src/video/video.dartthat imports:package:media_kit_video/src/video/video_texture.dartthat imports:package:media_kit_video/src/video_controller/platform_video_controller.dartthat imports:package:media_kit_video/src/video_controller/video_controller.dartthat imports:package:media_kit_video/src/video_controller/web_video_controller/web_video_controller.dartthat imports:package:media_kit_video/src/video_controller/web_video_controller/stub.dartthat imports:package:media_kit/media_kit.dartthat imports:package:media_kit/src/player/web/player/player.dartthat imports:package:media_kit/src/player/web/player/stub.dartthat imports:package:media_kit/src/player/platform_player.dartthat imports:package:media_kit/src/models/player_stream.dartthat imports:package:media_kit/src/models/playlist.dartthat imports:package:media_kit/src/models/media/media.dartthat imports:package:media_kit/src/models/media/media_native.dartthat imports:package:media_kit/src/player/native/utils/android_content_uri_provider.dartthat imports:package:media_kit/src/player/native/utils/isolates.dartthat 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: A value for optional parameter 'key' isn't ever given.
lib/src/playback.dart:141:31
╷
141 │ _MediaPlaybackRender({super.key});
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/playback.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
media_kit |
^1.1.10+1 |
1.1.11 | 1.2.6 | |
media_kit_libs_video |
^1.0.4 |
1.0.7 | 1.0.7 | |
media_kit_video |
^1.2.4 |
1.2.5 | 2.0.1 | |
meta |
^1.9.1 |
1.17.0 | 1.17.0 | |
web |
^0.5.1 |
0.5.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
image |
- | 4.7.2 | 4.7.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
media_kit_libs_android_video |
- | 1.3.8 | 1.3.8 | |
media_kit_libs_ios_video |
- | 1.1.4 | 1.1.4 | |
media_kit_libs_linux |
- | 1.2.1 | 1.2.1 | |
media_kit_libs_macos_video |
- | 1.1.4 | 1.1.4 | |
media_kit_libs_windows_video |
- | 1.0.11 | 1.0.11 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
safe_local_storage |
- | 1.0.2 | 2.0.1 | |
screen_brightness |
- | 0.2.2+1 | 2.1.7 | |
screen_brightness_android |
- | 0.1.0+2 | 2.1.3 | |
screen_brightness_ios |
- | 0.1.0 | 2.1.2 | |
screen_brightness_macos |
- | 0.1.0+1 | 2.1.1 | |
screen_brightness_platform_interface |
- | 0.1.0 | 2.1.0 | |
screen_brightness_windows |
- | 0.1.3 | 2.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
uri_parser |
- | 2.0.2 | 3.0.2 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
volume_controller |
- | 2.0.8 | 3.4.1 | |
wakelock_plus |
- | 1.4.0 | 1.4.0 | |
wakelock_plus_platform_interface |
- | 1.3.0 | 1.3.0 | |
win32 |
- | 5.15.0 | 5.15.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.2.4` on media_kit_video does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions media_kit_video to update the constraint.
The constraint `^0.5.1` on web does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions web 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.