play 0.0.41 copy "play: ^0.0.41" to clipboard
play: ^0.0.41 copied to clipboard

a library dart simple for play audio or video any format on cross platform.

19
likes
130/ 140
pub points
75%
popularity

We analyzed this package 1 hour ago, and awarded it 130 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

603 out of 899 API elements (67.1 %) have documentation comments.

Some symbols that are missing documentation: json_dart, json_dart.JsonScheme.utils_remove_by_keys_void, media, media.MediaPlayer, media.MediaPlayer.MediaPlayer.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/src/video/video.dart that imports:
  • package:media_kit_video/src/video/video_texture.dart that imports:
  • package:media_kit_video/src/utils/wakelock.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:play/play.dart that imports:
  • package:play/widget/video.dart that imports:
  • package:play/media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video.dart that imports:
  • package:media_kit_video/media_kit_video_controls/media_kit_video_controls.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/methods/fullscreen.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/widgets/video_controls_theme_data_injector.dart that imports:
  • package:media_kit_video/media_kit_video_controls/src/controls/material.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

INFO: The variable name 'help_play' isn't a lowerCamelCase identifier.

bin/play.dart:11:10

   ╷
11 │   String help_play = """
   │          ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/play.dart

INFO: 'streams' is deprecated and shouldn't be used. Use [stream] instead.

bin/play.dart:31:37

   ╷
31 │   double volume = await play.player.streams.volume.first;
   │                                     ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze bin/play.dart

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
general_lib ^0.0.20 0.0.34 0.0.34
googleapis_client ^0.0.11 0.0.12 0.0.12
media_kit ^1.1.10+1 1.1.10+1 1.1.10+1
media_kit_libs_video ^1.0.4 1.0.4 1.0.4
media_kit_video ^1.2.4 1.2.4 1.2.4
path ^1.9.0 1.9.0 1.9.0
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.6 1.0.6
alfred - 1.1.1 1.1.1
archive - 3.4.10 3.4.10
args - 2.5.0 2.5.0
asn1lib - 1.5.2 1.5.2
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 1.0.0 1.0.0
dbus - 0.7.10 0.7.10
encrypt - 5.0.3 5.0.3
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
google_identity_services_web - 0.3.1+1 0.3.1+1
googleapis - 13.1.0 13.1.0
googleapis_auth - 1.6.0 1.6.0
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image - 4.1.7 4.1.7
io - 1.0.4 1.0.4
js - 0.6.7 0.7.1
json_annotation - 4.8.1 4.8.1
mason_logger - 0.2.15 0.2.15
material_color_utilities - 0.8.0 0.11.1
media_kit_libs_android_video - 1.3.6 1.3.6
media_kit_libs_ios_video - 1.1.4 1.1.4
media_kit_libs_linux - 1.1.3 1.1.3
media_kit_libs_macos_video - 1.1.4 1.1.4
media_kit_libs_windows_video - 1.0.9 1.0.9
media_kit_native_event_loop - 1.0.8 1.0.8
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
mime_type - 1.0.0 1.0.0
package_info_plus - 7.0.0 7.0.0
package_info_plus_platform_interface - 3.0.0 3.0.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
queue - 3.1.0+2 3.1.0+2
safe_local_storage - 1.0.2 1.0.2
screen_brightness - 0.2.2+1 1.0.1
screen_brightness_android - 0.1.0+2 1.0.1
screen_brightness_ios - 0.1.0 1.0.1
screen_brightness_macos - 0.1.0+1 1.0.1
screen_brightness_platform_interface - 0.1.0 1.0.1
screen_brightness_windows - 0.1.3 1.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_platform - 1.0.0+1 1.0.0+1
uri_parser - 2.0.2 2.0.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
volume_controller - 2.0.7 2.0.7
wakelock_plus - 1.2.4 1.2.4
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 0.5.1 0.5.1
win32 - 5.4.0 5.4.0
xml - 6.5.0 6.5.0
youtube_explode_dart - 2.2.0 2.2.0

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

19
likes
130
pub points
75%
popularity

Publisher

unverified uploader

a library dart simple for play audio or video any format on cross platform.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, general_lib, googleapis_client, media_kit, media_kit_libs_video, media_kit_video, path, universal_io

More

Packages that depend on play