apivideo_player 1.4.0
apivideo_player: ^1.4.0 copied to clipboard
The official Flutter player for api.video for iOS, Android and Web.
We analyzed this package 15 days ago, and awarded it 80 pub points (of a possible 160):
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
110 out of 207 API elements (53.1 %) have documentation comments.
Some symbols that are missing documentation: apivideo_player, apivideo_player.ApiVideoMobilePlayer.ApiVideoMobilePlayer.new, apivideo_player.ApiVideoMobilePlayer.getPlaybackRate, apivideo_player.ApiVideoMobilePlayer.setPlaybackRate, apivideo_player.ApiVideoPlayer.ApiVideoPlayer.new.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:apivideo_player/apivideo_player.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:apivideo_player/apivideo_player.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:apivideo_player/apivideo_player.dartthat declares support for platforms:Android,iOS,Web.
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:apivideo_player/apivideo_player.dartthat imports:package:apivideo_player/src/widgets/apivideo_player_overlay.dartthat imports:package:pointer_interceptor/pointer_interceptor.dartthat declares support for platforms:iOS,Web.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
ERROR: The function 'getProperty' isn't defined.
lib/src/platform/web/javascript_controller.dart:51:23
╷
51 │ return _nested(js.getProperty(jsObject, key));
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/web/javascript_controller.dart
ERROR: Target of URI doesn't exist: 'dart:js_util'.
lib/src/platform/web/utils/conversion.dart:2:8
╷
2 │ import 'dart:js_util';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform/web/utils/conversion.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
js |
^0.7.0 |
0.7.2 | 0.7.2 | Discontinued |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 | |
meta |
^1.12.0 |
1.17.0 | 1.17.0 | |
plugin_platform_interface |
^2.1.5 |
2.1.8 | 2.1.8 | |
pointer_interceptor |
^0.10.1+1 |
0.10.1+2 | 0.10.1+2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
pointer_interceptor_ios |
- | 0.10.1+1 | 0.10.1+1 | |
pointer_interceptor_platform_interface |
- | 0.10.0+1 | 0.10.0+1 | |
pointer_interceptor_web |
- | 0.10.3 | 0.10.3 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
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 6 errors:
UNDEFINED_FUNCTION-lib/src/platform/web/javascript_controller.dart:51:23- The function 'getProperty' isn't defined.URI_DOES_NOT_EXIST-lib/src/platform/web/utils/conversion.dart:2:8- Target of URI doesn't exist: 'dart:js_util'.UNDEFINED_METHOD-lib/src/platform/web/utils/conversion.dart:27:18- The method 'promiseToFuture' isn't defined for the type 'Utils'.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.