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

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

120/ 160
pub points
151
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/LiWenHui96/flutter_video_view/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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

298 out of 308 API elements (96.8 %) 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

Failed 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.dart that imports:
  • package:flutter_video_view/src/widgets/widgets.dart that imports:
  • package:flutter_video_view/src/widgets/progress_bar.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.dart that imports:
  • package:flutter_video_view/src/widgets/widgets.dart that imports:
  • package:flutter_video_view/src/widgets/progress_bar.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:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/widgets/widgets.dart that imports:
  • package:flutter_video_view/src/widgets/progress_bar.dart that imports:
  • package:flutter_video_view/src/controls/news/news_controls.dart that imports:
  • package:flutter_video_view/src/controls/news/news_controls_top.dart that imports:
  • package:flutter_video_view/src/video_config.dart that imports:
  • package:flutter_video_view/src/controls/normal/normal_controls.dart that imports:
  • package:flutter_video_view/src/controls/normal/normal_controls_center.dart that imports:
  • package:flutter_video_view/src/base_controls.dart that imports:
  • package:flutter_video_view/src/utils/utils.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.dart that imports:
  • package:flutter_video_view/src/widgets/widgets.dart that imports:
  • package:flutter_video_view/src/widgets/progress_bar.dart that imports:
  • package:flutter_video_view/src/controls/news/news_controls.dart that imports:
  • package:flutter_video_view/src/controls/news/news_controls_top.dart that imports:
  • package:flutter_video_view/src/video_config.dart that imports:
  • package:flutter_video_view/src/controls/normal/normal_controls.dart that imports:
  • package:flutter_video_view/src/controls/normal/normal_controls_center.dart that imports:
  • package:flutter_video_view/src/base_controls.dart that imports:
  • package:flutter_video_view/src/utils/utils.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.

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.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:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view.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.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_video_view/flutter_video_view.dart that imports:
  • package:flutter_video_view/src/video_view.dart that imports:
  • package:flutter_video_view/src/widgets/widgets.dart that imports:
  • package:flutter_video_view/src/widgets/progress_bar.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

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

Found 10 issues. Showing the first 2:

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

lib/src/base_controls.dart:133:29

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

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

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

lib/src/base_controls.dart:153:31

    ╷
153 │           color: Colors.white.withOpacity(.85),
    │                               ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base_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
provider ^6.1.0 6.1.5+1 6.1.5+1
screen_brightness ^1.0.0 1.0.1 2.1.7
video_player ^2.8.6 2.10.0 2.10.0
volume_controller ^2.0.0 2.0.8 3.4.0
wakelock_plus ^1.1.0 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 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.11 0.7.11
ffi - 2.1.4 2.1.4
html - 0.15.6 0.15.6
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
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.1 7.0.1
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.1 1.10.1
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.2.0
video_player_android - 2.8.13 2.8.13
video_player_avfoundation - 2.8.4 2.8.4
video_player_platform_interface - 6.4.0 6.4.0
video_player_web - 2.4.0 2.4.0
wakelock_plus_platform_interface - 1.3.0 1.3.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
xml - 6.6.1 6.6.1

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

The constraint `^1.0.0` on screen_brightness does not support the stable version `2.0.0`.

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

The constraint `^2.0.0` on volume_controller does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions volume_controller 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 3 errors:

  • INSTANCE_ACCESS_TO_STATIC_MEMBER - lib/src/utils/util_volume.dart:22:59 - The static method 'getVolume' can't be accessed through an instance.
  • INSTANCE_ACCESS_TO_STATIC_MEMBER - lib/src/utils/util_volume.dart:32:24 - The static method 'setVolume' can't be accessed through an instance.
  • UNDEFINED_NAMED_PARAMETER - lib/src/utils/util_volume.dart:32:42 - The named parameter 'showSystemUI' isn't defined.

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.23, Flutter 3.35.3, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
120
points
151
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

flutter, provider, screen_brightness, video_player, volume_controller, wakelock_plus

More

Packages that depend on flutter_video_view