flutter_meedu_videoplayer 4.3.1 copy "flutter_meedu_videoplayer: ^4.3.1" to clipboard
flutter_meedu_videoplayer: ^4.3.1 copied to clipboard

discontinuedreplaced by: universal_video_controls

A cross Platform video player that uses video_player for android and ios and web, fvp for windows and linux and macos.

122
likes
80/ 160
pub points
84%
popularity

We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):

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

418 out of 638 API elements (65.5 %) have documentation comments.

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

10/10 points: Package has an example

failed
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_videoplayer/flutter_meedu_videoplayer_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_videoplayer/flutter_meedu_videoplayer_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_videoplayer/flutter_meedu_videoplayer_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_videoplayer/flutter_meedu_videoplayer_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_videoplayer/flutter_meedu_videoplayer_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_videoplayer/init_meedu_player.dart that imports:
  • package:window_manager/window_manager.dart that declares support for platforms: Windows, Linux, macOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 292 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_videoplayer/src/helpers/durations.dart (via package:flutter_meedu_videoplayer/meedu_player.dart)'.

lib/src/controller.dart:284:9

    ╷
284 │   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_videoplayer/src/helpers/durations.dart (via package:flutter_meedu_videoplayer/meedu_player.dart)'.

lib/src/controller.dart:333:28

    ╷
333 │     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.1.0 1.1.0
fvp ^0.3.0 0.3.0 0.28.0
meta ^1.7.0 1.15.0 1.16.0
path_provider ^2.0.6 2.1.5 2.1.5
screen_brightness ^0.2.0 0.2.2+1 2.0.0+2
shared_preferences ^2.0.13 2.3.3 2.3.3
universal_platform ^1.0.0+1 1.1.0 1.1.0
video_player ^2.7.0 2.9.2 2.9.2
volume_controller ^2.0.3 2.0.8 2.0.8
wakelock_plus ^1.1.1 1.2.8 1.2.8
window_manager ^0.3.5 0.3.9 0.4.3
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
csslib - 1.0.2 1.0.2
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
html - 0.15.5 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meedu - 8.1.2 9.1.0
package_info_plus - 8.1.1 8.1.1
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
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.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
screen_brightness_android - 0.1.0+2 2.0.0
screen_brightness_ios - 0.1.0 2.0.0
screen_brightness_macos - 0.1.0+1 2.0.0
screen_brightness_platform_interface - 0.1.0 2.0.0
screen_brightness_windows - 0.1.3 2.0.0
screen_retriever - 0.1.9 0.2.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
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
vector_math - 2.1.4 2.1.4
video_player_android - 2.7.16 2.7.16
video_player_avfoundation - 2.6.3 2.6.3
video_player_platform_interface - 6.2.3 6.2.3
video_player_web - 2.3.3 2.3.3
wakelock_plus_platform_interface - 1.2.1 1.2.1
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
xdg_directories - 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 4 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 `^0.3.0` on fvp does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions fvp 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:284:9 - The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_videoplayer/src/helpers/durations.dart (via package:flutter_meedu_videoplayer/meedu_player.dart)'.
  • AMBIGUOUS_IMPORT - lib/src/controller.dart:333:28 - The name 'Durations' is defined in the libraries 'package:flutter/src/material/motion.dart (via package:flutter/material.dart)' and 'package:flutter_meedu_videoplayer/src/helpers/durations.dart (via package:flutter_meedu_videoplayer/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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.