u2flutter_player 0.0.6 copy "u2flutter_player: ^0.0.6" to clipboard
u2flutter_player: ^0.0.6 copied to clipboard

flutter video player, used video_player with progress, volume and brightness

0
likes
70/ 140
pub points
33%
popularity

We analyzed this package 13 days ago, and awarded it 70 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: u2flutter_player,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

9 out of 56 API elements (16.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: after_layout, after_layout.AfterLayoutMixin, after_layout.AfterLayoutMixin.afterFirstLayout, controller_widget, controller_widget.ControllerWidget.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:u2flutter_player/u2flutter_player.dart that imports:
  • package:u2flutter_player/video_player_pan.dart that imports:
  • package:u2flutter_player/video_player_control.dart that imports:
  • package:u2flutter_player/video_player_slider.dart that imports:
  • package:u2flutter_player/controller_widget.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:u2flutter_player/u2flutter_player.dart that imports:
  • package:u2flutter_player/video_player_pan.dart that imports:
  • package:u2flutter_player/video_player_control.dart that imports:
  • package:u2flutter_player/video_player_slider.dart that imports:
  • package:u2flutter_player/controller_widget.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:u2flutter_player/u2flutter_player.dart that imports:
  • package:u2flutter_player/video_player_pan.dart that imports:
  • package:u2flutter_player/video_player_control.dart that imports:
  • package:auto_orientation/auto_orientation.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:u2flutter_player/u2flutter_player.dart that imports:
  • package:u2flutter_player/video_player_pan.dart that imports:
  • package:u2flutter_player/video_player_control.dart that imports:
  • package:auto_orientation/auto_orientation.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 13 issues. Showing the first 2:

ERROR: The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.

lib/video_player_control.dart:254:22

    ╷
254 │         SystemChrome.setEnabledSystemUIOverlays(
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.

lib/video_player_control.dart:260:22

    ╷
260 │         SystemChrome.setEnabledSystemUIOverlays([]);
    │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/video_player_control.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
auto_orientation ^2.0.2 2.3.1 2.3.1
brightness_volume ^1.0.3 1.0.3 1.0.3
common_utils ^2.0.2 2.1.0 2.1.0
flutter flutter 0.0.0 0.0.0
video_player ^2.1.10 2.8.3 2.8.3
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
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
decimal - 2.3.3 2.3.3
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.4 0.15.4
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
rational - 2.2.2 2.2.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
video_player_android - 2.4.12 2.4.12
video_player_avfoundation - 2.5.6 2.5.6
video_player_platform_interface - 6.2.2 6.2.2
video_player_web - 2.3.0 2.3.0
web - 0.5.1 0.5.1

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.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

0
likes
70
pub points
33%
popularity

Publisher

unverified uploader

flutter video player, used video_player with progress, volume and brightness

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

auto_orientation, brightness_volume, common_utils, flutter, video_player

More

Packages that depend on u2flutter_player