web_video_player 0.0.1-dev.2
web_video_player: ^0.0.1-dev.2 copied to clipboard
A Flutter Web Video Player
We analyzed this package 2 days ago, and awarded it 135 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 50 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be well formed Unable to parse 2 image links.
README.md:44:26
╷
44 │ <p>You can check out the <a href="'https://github.com/saedkhaled/web_video_player/tree/main/example'">example</a> directory for a sample application using this package.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
9 out of 13 API elements (69.2 %) have documentation comments.
Some symbols that are missing documentation: player
, utils
, utils.isNotEmpty
, web_video_player
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:web_video_player/web_video_player.dart
that imports:package:web_video_player/player.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:web_video_player/web_video_player.dart
that imports:package:web_video_player/player.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package not compatible with platform Web
Because:
package:web_video_player/web_video_player.dart
that imports:package:web_video_player/player.dart
that imports:package:video_player/video_player.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:web_video_player/web_video_player.dart
that imports:package:web_video_player/player.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 5 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/player.dart:125:41
╷
125 │ color: Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/player.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/player.dart:155:37
╷
155 │ color: Colors.black.withOpacity(0.5),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/player.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
universal_html |
^2.2.3 |
2.2.4 | 2.2.4 | |
video_player |
^2.7.0 |
2.10.0 | 2.10.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
charcode |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
html |
- | 0.15.6 | 0.15.6 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_io |
- | 2.2.2 | 2.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
video_player_android |
- | 2.8.7 | 2.8.7 | |
video_player_avfoundation |
- | 2.7.2 | 2.7.2 | |
video_player_platform_interface |
- | 6.4.0 | 6.4.0 | |
video_player_web |
- | 2.3.5 | 2.3.5 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.