cached_video_player_plus 2.0.0
cached_video_player_plus: ^2.0.0 copied to clipboard
Original video_player plugin with the superpower of caching embedded in Android, iOS and macOS.
We analyzed this package 10 hours ago, and awarded it 130 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
111 out of 112 API elements (99.1 %) have documentation comments.
Some symbols that are missing documentation: cached_video_player_plus.ClosedCaptionFile.ClosedCaptionFile.new.
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:cached_video_player_plus/cached_video_player_plus.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:cached_video_player_plus/cached_video_player_plus.dartthat 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 does not support platform `Web`.
Because:
package:cached_video_player_plus/cached_video_player_plus.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cached_video_player_plus/cached_video_player_plus.dartthat imports:package:get_storage/get_storage.dartthat imports:package:get_storage/src/storage_impl.dartthat imports:package:get_storage/src/storage/html.dartthat imports:dart:html
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'CachedVideoPlayerPlusController.network' is deprecated and shouldn't be used. Use CachedVideoPlayerPlusController.networkUrl instead.
lib/cached_video_player_plus.dart:376:49
╷
376 │ /// Only for [CachedVideoPlayerPlusController.network].
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cached_video_player_plus.dart
INFO: 'create' is deprecated and shouldn't be used. Use createWithOptions() instead.
lib/cached_video_player_plus.dart:542:46
╷
542 │ _textureId = (await _videoPlayerPlatform.create(dataSourceDescription)) ??
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/cached_video_player_plus.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_cache_manager |
^3.0.0 |
3.4.1 | 3.4.1 | |
get_storage |
^2.0.0 |
2.1.1 | 2.1.1 | |
html |
^0.15.0 |
0.15.6 | 0.15.6 | |
video_player_android |
^2.0.0 |
2.9.1 | 2.9.1 | |
video_player_avfoundation |
^2.0.0 |
2.8.9 | 2.8.9 | |
video_player_platform_interface |
^6.0.0 |
6.6.0 | 6.6.0 | |
video_player_web |
^2.0.0 |
2.4.0 | 2.4.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
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 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
get |
- | 4.7.3 | 4.7.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_ENUM_CONSTANT-lib/cached_video_player_plus.dart:584:29- There's no constant named 'isPlayingStateUpdate' in 'VideoEventType'.UNDEFINED_GETTER-lib/cached_video_player_plus.dart:585:21- The getter 'isPlaying' isn't defined for the type 'VideoEvent'.UNDEFINED_GETTER-lib/cached_video_player_plus.dart:587:32- The getter 'isPlaying' isn't defined for the type 'VideoEvent'.
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.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.