flutter_video_view 1.1.7 copy "flutter_video_view: ^1.1.7" to clipboard
flutter_video_view: ^1.1.7 copied to clipboard

PlatformAndroidiOS
outdated

A view for video based on video_player and provides many basic functions.

120/ 160
pub points
71
downloads

We analyzed this package 8 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: Apache-2.0.

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

279 out of 295 API elements (94.6 %) have documentation comments.

Some symbols that are missing documentation: flutter_video_view, flutter_video_view.ClosedCaptionFile.ClosedCaptionFile.new, flutter_video_view.LocalizationsBase.LocalizationsBase.new, flutter_video_view.LocalizationsBase.getItem, flutter_video_view.LocalizationsBase.locale.

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:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/controls/video_view_controls.dart that imports:
  • package:flutter_video_view/src/controls/controls_bottom.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:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/utils/util_brightness.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/controls/video_view_controls.dart that imports:
  • package:flutter_video_view/src/utils/util_volume.dart that imports:
  • package:volume_controller/volume_controller.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/utils/util_brightness.dart that imports:
  • package:screen_brightness/screen_brightness.dart that declares support for platforms: Android, iOS, Windows, macOS.

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:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view_config.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
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 12 issues. Showing the first 2:

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

lib/src/controls/video_view_controls.dart:54:43

   ╷
54 │                       color: Colors.black.withOpacity(.35),
   │                                           ^^^^^^^^^^^
   ╵

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

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

lib/src/controls/video_view_controls.dart:132:45

    ╷
132 │                         color: Colors.white.withOpacity(.9),
    │                                             ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controls/video_view_controls.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 ^2.1.0 2.2.2 7.0.0
connectivity_plus ^2.3.0 2.3.9 7.0.0
event_bus ^2.0.0 2.0.1 2.0.1
provider ^6.0.0 6.1.5+1 6.1.5+1
screen_brightness ^0.2.1 0.2.2+1 2.1.7
video_player ^2.4.0 2.10.1 2.10.1
volume_controller ^2.0.3 2.0.8 3.4.1
wakelock ^0.6.1 0.6.2 0.6.2 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
battery_plus_linux - 1.2.0 1.2.0
battery_plus_macos - 1.1.1 1.1.1
battery_plus_platform_interface - 1.2.2 2.0.1
battery_plus_web - 1.1.0 1.1.0
battery_plus_windows - 1.1.3 1.1.3
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
csslib - 1.0.2 1.0.2
dbus - 0.7.12 0.7.12
ffi - 2.1.5 2.1.5
html - 0.15.6 0.15.6
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
screen_brightness_android - 0.1.0+2 2.1.3
screen_brightness_ios - 0.1.0 2.1.2
screen_brightness_macos - 0.1.0+1 2.1.1
screen_brightness_platform_interface - 0.1.0 2.1.0
screen_brightness_windows - 0.1.3 2.1.0
source_span - 1.10.2 1.10.2
term_glyph - 1.2.2 1.2.2
upower - 0.7.0 0.7.0
vector_math - 2.2.0 2.2.0
video_player_android - 2.9.1 2.9.1
video_player_avfoundation - 2.9.1 2.9.1
video_player_platform_interface - 6.6.0 6.6.0
video_player_web - 2.4.0 2.4.0
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
web - 1.1.1 1.1.1
win32 - 3.1.4 5.15.0
xml - 6.6.1 6.6.1

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

Found 5 issues. Showing the first 2:

The constraint `^2.1.0` on battery_plus does not support the stable version `3.0.0`.

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

The constraint `^2.3.0` on connectivity_plus does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus 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 1 error:

  • UNDEFINED_GETTER - lib/src/video_view.dart:657:50 - The getter 'rotationCorrection' 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.8, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
120
points
71
downloads

Publisher

unverified uploader

Weekly Downloads

A view for video based on video_player and provides many basic functions.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

battery_plus, connectivity_plus, event_bus, flutter, provider, screen_brightness, video_player, volume_controller, wakelock

More

Packages that depend on flutter_video_view