flutter_video_cache 0.1.8
flutter_video_cache: ^0.1.8 copied to clipboard
A Flutter plugin that enables video caching and offline playback alongside the video_player package. Supports downloads, playback from cache, and progress tracking.
We analyzed this package in the last hour, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/AkmaljonAbdirakhimov/flutter_video_cache
was unreachable. Make sure that the website is reachable via HEAD
requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/AkmaljonAbdirakhimov/flutter_video_cache
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/AkmaljonAbdirakhimov/flutter_video_cache/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
Documentation URL doesn't exist.
At the time of the analysis https://github.com/AkmaljonAbdirakhimov/flutter_video_cache/blob/main/README.md
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
93 out of 101 API elements (92.1 %) have documentation comments.
Some symbols that are missing documentation: flutter_video_cache
, flutter_video_cache.VideoCache.VideoCache.new
, video_cache_method_channel
, video_cache_method_channel.MethodChannelVideoCache.MethodChannelVideoCache.new
, video_cache_method_channel.MethodChannelVideoCache.getPlatformVersion
.
10/10 points: Package has 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:flutter_video_cache/flutter_video_cache.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutter_video_cache/flutter_video_cache.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutter_video_cache/flutter_video_cache.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_video_cache/flutter_video_cache.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:flutter_video_cache/flutter_video_cache.dart
that imports:package:video_player_pip/index.dart
that imports:package:video_player_pip/src/extensions.dart
that imports:package:video_player_pip/src/video_player_controller.dart
that imports:package:video_player_avfoundation/video_player_avfoundation.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:flutter_video_cache/flutter_video_cache.dart
that imports:package:video_player_pip/index.dart
that imports:package:video_player_pip/src/extensions.dart
that imports:package:video_player_pip/src/video_player_controller.dart
that imports:package:video_player_android/video_player_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_video_cache/flutter_video_cache.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/flutter_video_cache/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.
lib/flutter_video_cache.dart:190:12
╷
190 │ return pip_video_controller.VideoPlayerController.network(networkUrl);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_video_cache.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widgets/cache_control_button.dart:343:32
╷
343 │ color: bgColor.withOpacity(0.8),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/cache_control_button.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
video_player |
^2.9.5 |
2.10.0 | 2.10.0 | |
video_player_pip |
^0.0.7 |
0.0.10 | 0.0.10 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
video_player_android |
- | 2.8.7 | 2.8.7 | |
video_player_avfoundation |
- | 2.7.1 | 2.7.1 | |
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.