flutter_meedu_media_kit 4.2.26 copy "flutter_meedu_media_kit: ^4.2.26" to clipboard
flutter_meedu_media_kit: ^4.2.26 copied to clipboard

discontinued

a controls wrapper for media_kit.

5
likes
70/ 160
pub points
35%
popularity

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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

810 out of 1202 API elements (67.4 %) have documentation comments.

Some symbols that are missing documentation: bar, bar.BarStyle, bar.BarStyle.background, bar.BarStyle.borderRadius, bar.BarStyle.color.

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

Because:

  • package:flutter_meedu_media_kit/flutter_meedu_media_kit_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform iOS

Because:

  • package:flutter_meedu_media_kit/flutter_meedu_media_kit_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Windows

Because:

  • package:flutter_meedu_media_kit/flutter_meedu_media_kit_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform Linux

Because:

  • package:flutter_meedu_media_kit/flutter_meedu_media_kit_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package not compatible with platform macOS

Because:

  • package:flutter_meedu_media_kit/flutter_meedu_media_kit_web.dart that imports:
  • package:flutter_web_plugins/flutter_web_plugins.dart that imports:
  • package:flutter_web_plugins/src/plugin_registry.dart that imports:
  • dart:ui_web
Package does not support platform `Web`.

Because:

  • package:flutter_meedu_media_kit/meedu_player.dart that imports:
  • package:window_manager/src/window_manager.dart that declares support for platforms: Windows, Linux, macOS.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 285 issues. Showing the first 2:

ERROR: The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_media_kit/src/helpers/durations.dart (via package:flutter_meedu_media_kit/meedu_player.dart)'.

lib/src/controller.dart:296:9

    ╷
296 │   final Durations durations;
    │         ^^^^^^^^^
    ╵

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

ERROR: The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_media_kit/src/helpers/durations.dart (via package:flutter_meedu_media_kit/meedu_player.dart)'.

lib/src/controller.dart:345:28

    ╷
345 │     this.durations = const Durations(),
    │                            ^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
auto_orientation ^2.3.1 2.3.1 2.3.1
flutter flutter 0.0.0 0.0.0
flutter_meedu ^8.0.0+1 8.5.0 9.1.0
flutter_spinkit ^5.1.0 5.2.1 5.2.1
flutter_web_plugins flutter 0.0.0 0.0.0
fullscreen_window ^1.0.4 1.0.4 1.0.4
media_kit 1.1.2+1 1.1.2+1 1.1.10+1
media_kit_libs_android_video 1.3.0 1.3.0 1.3.6
media_kit_libs_linux 1.1.0 1.1.0 1.1.3
media_kit_libs_macos_video ^1.1.3 1.1.4 1.1.4
media_kit_libs_windows_video 1.0.6 1.0.6 1.0.9
media_kit_native_event_loop ^1.0.7 1.0.8 1.0.8
media_kit_video 1.1.2 1.1.2 1.2.4
meta ^1.7.0 1.12.0 1.15.0
path_provider ^2.0.6 2.1.3 2.1.3
screen_brightness ^0.2.0 0.2.2+1 1.0.1
shared_preferences ^2.0.13 2.2.3 2.2.3
universal_platform ^1.0.0+1 1.1.0 1.1.0
volume_controller ^2.0.3 2.0.7 2.0.7
wakelock_plus ^1.1.1 1.2.5 1.2.5
window_manager ^0.3.5 0.3.9 0.3.9
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
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.19.0
crypto - 3.0.3 3.0.3
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.1.0
image - 4.2.0 4.2.0
material_color_utilities - 0.8.0 0.12.0
meedu - 8.1.2 9.1.0
package_info_plus - 8.0.0 8.0.0
package_info_plus_platform_interface - 3.0.0 3.0.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.6 2.2.6
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
safe_local_storage - 1.0.2 1.0.2
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
screen_retriever - 0.1.9 0.1.9
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
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
uri_parser - 2.0.2 2.0.2
uuid - 3.0.7 4.4.0
vector_math - 2.1.4 2.1.4
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 7 issues. Showing the first 2:

The constraint `^8.0.0+1` on flutter_meedu does not support the stable version `9.0.0`.

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

The constraint `1.1.2+1` on media_kit does not support the stable version `1.1.3`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • AMBIGUOUS_IMPORT - lib/src/controller.dart:296:9 - The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_media_kit/src/helpers/durations.dart (via package:flutter_meedu_media_kit/meedu_player.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/controller.dart:345:28 - The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_media_kit/src/helpers/durations.dart (via package:flutter_meedu_media_kit/meedu_player.dart)'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.7, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.