advn_video 0.0.18 advn_video: ^0.0.18 copied to clipboard
A module for show video Flutter project.
We analyzed this package 17 hours ago, and awarded it 50 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 138 API elements (29.7 %) have documentation comments.
Some symbols that are missing documentation: advn_video
, advn_video.BetterVideoPlayer.bgColor
, advn_video.BetterVideoPlayer.configuration
, advn_video.BetterVideoPlayer.controller
, advn_video.BetterVideoPlayer.dataSource
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:advn_video/advn_video.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:advn_video/advn_video.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:advn_video/advn_video.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:advn_video/advn_video.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:advn_video/advn_video.dart
that imports:package:advn_video/src/core/better_video_player.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:advn_video/advn_video.dart
that imports:package:advn_video/src/core/better_video_player.dart
that imports:package:wakelock/wakelock.dart
that imports:package:wakelock_macos/wakelock_macos.dart
that declares support for platforms:macOS
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
ERROR: The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
lib/src/core/better_video_player.dart:177:18
╷
177 │ SystemChrome.setEnabledSystemUIOverlays([]);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/better_video_player.dart
ERROR: The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
lib/src/core/better_video_player.dart:212:18
╷
212 │ SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/better_video_player.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity_plus |
2.3.9 |
2.3.9 | 6.0.5 |
cupertino_icons |
any |
1.0.8 | 1.0.8 |
flutter |
flutter |
0.0.0 | 0.0.0 |
provider |
any |
6.1.2 | 6.1.2 |
video_player |
^2.1.13 |
2.9.2 | 2.9.2 |
visibility_detector |
any |
0.4.0+2 | 0.4.0+2 |
wakelock |
any |
0.6.2 | 0.6.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.0 |
connectivity_plus_linux |
- | 1.3.1 | 1.3.1 |
connectivity_plus_macos |
- | 1.2.6 | 1.2.6 |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 |
connectivity_plus_web |
- | 1.2.5 | 1.2.5 |
connectivity_plus_windows |
- | 1.2.2 | 1.2.2 |
csslib |
- | 1.0.0 | 1.0.0 |
dbus |
- | 0.7.10 | 0.7.10 |
ffi |
- | 2.1.3 | 2.1.3 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.4 | 0.15.4 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
nm |
- | 0.5.0 | 0.5.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
video_player_android |
- | 2.7.12 | 2.7.12 |
video_player_avfoundation |
- | 2.6.2 | 2.6.2 |
video_player_platform_interface |
- | 6.2.3 | 6.2.3 |
video_player_web |
- | 2.3.2 | 2.3.2 |
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.0 | 1.1.0 |
win32 |
- | 3.1.4 | 5.6.0 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `2.3.9` 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.
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 2 errors:
UNDEFINED_METHOD
-lib/src/core/better_video_player.dart:177:18
- The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.UNDEFINED_METHOD
-lib/src/core/better_video_player.dart:212:18
- The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
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.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.