video_controls 1.0.0 video_controls: ^1.0.0 copied to clipboard
A wrapper around video_player to show customizable controls for Flutter videos.
We analyzed this package 14 days ago, and awarded it 130 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
57 out of 58 API elements (98.3 %) have documentation comments.
Some symbols that are missing documentation: video_controls
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ macOS
- ✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:video_controls/video_controls.dart
that imports:package:video_controls/src/player.dart
that imports:package:video_controls/src/controls.dart
that imports:package:video_controls/src/controller.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:video_controls/video_controls.dart
that imports:package:video_controls/src/player.dart
that imports:package:video_controls/src/controls.dart
that imports:package:video_controls/src/controller.dart
that imports:package:video_player/video_player.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:video_controls/video_controls.dart
that imports:package:video_controls/src/player.dart
that imports:package:video_controls/src/controls.dart
that imports:package:video_controls/src/controller.dart
that imports:package:video_player/video_player.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.
lib/src/controller.dart:8:40
╷
8 │ VideoController.network(String url) : super.network(url);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controller.dart
INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. This feature was deprecated after v3.12.0-1.0.pre.
lib/src/player.dart:124:20
╷
124 │ builder: (_) => WillPopScope(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/player.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
video_player |
^2.1.10 |
2.8.3 | 2.8.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.0 |
collection |
- | 1.18.0 | 1.18.0 |
csslib |
- | 1.0.0 | 1.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.4 | 0.15.4 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.12.0 |
path |
- | 1.9.0 | 1.9.0 |
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.4.12 | 2.4.12 |
video_player_avfoundation |
- | 2.5.6 | 2.5.6 |
video_player_platform_interface |
- | 6.2.2 | 6.2.2 |
video_player_web |
- | 2.3.0 | 2.3.0 |
web |
- | 0.5.1 | 0.5.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
Analyzed with Pana 0.22.2
, Flutter 3.19.2
, Dart 3.3.0
.
Check the analysis log for details.