flutter_video_view 2.1.2
flutter_video_view: ^2.1.2 copied to clipboard
A view for video based on video_player and provides many basic functions.
We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 160):
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.
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: Apache-2.0
.
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
.
10/10 points: Package has an example
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
.
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.
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.