quality_player 0.0.4 copy "quality_player: ^0.0.4" to clipboard
quality_player: ^0.0.4 copied to clipboard

Quality Player is a custom video player built using Flutter’s video_player package. It supports both portrait and landscape modes, so users can watch videos in any screen orientation. The player is fu [...]

130/ 160
pub points
23
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

21 out of 94 API elements (22.3 %) have documentation comments.

Some symbols that are missing documentation: landscape_video, landscape_video.LandscapeVideo, landscape_video.LandscapeVideo.LandscapeVideo.new, landscape_video.LandscapeVideo.alwaysLandscape, landscape_video.LandscapeVideo.player.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.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:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_windows_plugin.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

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:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.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:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.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 `macOS`.

Because:

  • package:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:wakelock_plus/wakelock_plus.dart that imports:
  • package:wakelock_plus/src/wakelock_plus_io_plugin.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 not compatible with platform Web

Because:

  • package:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:quality_player/quality_player.dart that imports:
  • package:quality_player/quality_player/src/quality_player.dart that imports:
  • package:quality_player/quality_player/src/landscape_video.dart that imports:
  • package:quality_player/quality_player/cubit/player_cubit.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Empty catch block.

lib/quality_player/cubit/player_cubit.dart:29:17

   ╷
29 │       } catch (e) {
   │ ┌─────────────────^
30 │ │ 
31 │ └     }
   ╵

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

INFO: Missing type annotation.

lib/quality_player/cubit/player_cubit.dart:117:7

    ╷
117 │   get currentQuality=>_currentQuality;
    │       ^^^^^^^^^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
flutter_bloc ^9.1.1 9.1.1 9.1.1
video_player ^2.9.5 2.11.1 2.11.1
wakelock_plus ^1.3.2 1.5.1 1.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 9.2.0 9.2.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
dbus - 0.7.12 0.7.12
ffi - 2.2.0 2.2.0
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
nested - 1.0.0 1.0.0
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.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
video_player_android - 2.9.4 2.9.4
video_player_avfoundation - 2.9.4 2.9.4
video_player_platform_interface - 6.6.0 6.6.0
video_player_web - 2.4.0 2.4.0
wakelock_plus_platform_interface - 1.4.0 1.4.0
web - 1.1.1 1.1.1
win32 - 5.15.0 6.0.0
xml - 6.6.1 6.6.1

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Quality Player is a custom video player built using Flutter’s video_player package. It supports both portrait and landscape modes, so users can watch videos in any screen orientation. The player is fully responsive, meaning it works smoothly on all mobile and tablet sizes. It's a great choice if you're building an app that needs a clean and flexible video player

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_bloc, video_player, wakelock_plus

More

Packages that depend on quality_player