klipt_video_player 1.1.4+1 copy "klipt_video_player: ^1.1.4+1" to clipboard
klipt_video_player: ^1.1.4+1 copied to clipboard

A Flutter video player with multiple gesture support, based on Chewie and added danmaku (bullet/barrage) function inside it.

120/ 160
pub points
32
downloads

We analyzed this package 9 hours ago, and awarded it 120 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

171 out of 550 API elements (31.1 %) have documentation comments.

Some symbols that are missing documentation: animated_play_pause, animated_play_pause.AnimatedPlayPause.AnimatedPlayPause.new, animated_play_pause.AnimatedPlayPause.color, animated_play_pause.AnimatedPlayPause.playing, animated_play_pause.AnimatedPlayPause.size.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.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:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.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:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.dart that imports:
  • package:klipt_video_player/custom_chewie/chewie.dart that imports:
  • package:klipt_video_player/custom_chewie/src/material/custom_material_controls.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.dart that imports:
  • package:klipt_video_player/custom_chewie/chewie.dart that imports:
  • package:klipt_video_player/custom_chewie/src/material/custom_material_controls.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.

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:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.dart that imports:
  • package:klipt_video_player/custom_chewie/chewie.dart that imports:
  • package:klipt_video_player/custom_chewie/src/material/custom_material_controls.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:klipt_video_player/klipt_video_player.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/reusable_component.dart that imports:
  • package:klipt_video_player/danmaku_bullet_widget/bullet_button.dart that imports:
  • package:klipt_video_player/application_controller.dart that imports:
  • package:klipt_video_player/custom_chewie/chewie.dart that imports:
  • package:klipt_video_player/custom_chewie/src/material/custom_material_controls.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
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

Found 25 issues. Showing the first 2:

INFO: Missing type annotation.

lib/custom_chewie/src/klipt_video_player.dart:104:7

    ╷
104 │   get _progressColors => ChewieProgressColors(
    │       ^^^^^^^^^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/custom_chewie/src/klipt_video_player.dart:107:36

    ╷
107 │       backgroundColor: Colors.grey.withOpacity(0.5),
    │                                    ^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
battery_plus ^5.0.1 5.0.3 7.0.0
flutter_overlay ^1.0.0 1.0.0 1.0.0
fluttertoast ^8.2.2 8.2.14 9.0.0
get ^4.6.6 4.7.3 4.7.3
provider ^6.1.1 6.1.5+1 6.1.5+1
screen_brightness ^1.0.0 1.0.1 2.1.7
side_sheet ^1.0.4 1.0.4+1 1.0.4+1
video_player ^2.7.0 2.11.1 2.11.1
volume_controller ^2.0.7 2.0.8 3.4.2
wakelock_plus ^1.1.3 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
battery_plus_platform_interface - 2.0.1 2.0.1
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.1
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
screen_brightness_android - 1.0.1 2.1.3
screen_brightness_ios - 1.0.1 2.1.2
screen_brightness_macos - 1.0.1 2.1.1
screen_brightness_platform_interface - 1.0.1 2.1.0
screen_brightness_windows - 1.0.1 2.1.0
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
upower - 0.7.0 0.7.0
vector_math - 2.2.0 2.2.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.

Found 4 issues. Showing the first 2:

The constraint `^5.0.1` on battery_plus does not support the stable version `6.0.0`.

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

The constraint `^8.2.2` on fluttertoast does not support the stable version `9.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_GETTER - lib/custom_chewie/src/material/custom_material_controls.dart:277:60 - The getter 'isCompleted' isn't defined for the type 'VideoPlayerValue'.
  • UNDEFINED_GETTER - lib/custom_chewie/src/material/custom_material_controls.dart:1083:37 - The getter 'isCompleted' isn't defined for the type 'VideoPlayerValue'.

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.23.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
120
points
32
downloads

Documentation

API reference

Publisher

verified publishervivatlantis.com

Weekly Downloads

A Flutter video player with multiple gesture support, based on Chewie and added danmaku (bullet/barrage) function inside it.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

battery_plus, flutter, flutter_overlay, fluttertoast, get, provider, screen_brightness, side_sheet, video_player, volume_controller, wakelock_plus

More

Packages that depend on klipt_video_player