better_player_enhanced 1.0.2
better_player_enhanced: ^1.0.2 copied to clipboard
Advanced video player based on video_player and Chewie. Supports HLS, DASH, DRM, cache, subtitles, PiP, and much more. AndroidX Media3 powered.
We analyzed this package in the last hour, 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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
340 out of 441 API elements (77.1 %) have documentation comments.
Some symbols that are missing documentation: better_player, better_player.BetterPlayer.BetterPlayer.file, better_player.BetterPlayer.BetterPlayer.network, better_player.BetterPlayer.BetterPlayer.new, better_player.BetterPlayer.controller.
10/10 points: Package has an example
10/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:better_player_enhanced/better_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:better_player_enhanced/better_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:better_player_enhanced/better_player.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:better_player_enhanced/better_player.dartthat 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:better_player_enhanced/better_player.dartthat imports:package:better_player_enhanced/src/core/better_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:better_player_enhanced/better_player.dartthat imports:package:better_player_enhanced/src/core/better_player.dartthat imports:package:wakelock_plus/wakelock_plus.dartthat imports:package:wakelock_plus/src/wakelock_plus_io_plugin.dartthat imports:package:wakelock_plus/src/wakelock_plus_windows_plugin.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/better_player_enhanced/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/hls/hls_parser/hls_playlist_parser.dart:608:31
╷
608 │ defaultValue: false)) flags |= Util.selectionFlagDefault;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hls/hls_parser/hls_playlist_parser.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/hls/hls_parser/hls_playlist_parser.dart:612:31
╷
612 │ defaultValue: false)) flags |= Util.selectionFlagForced;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hls/hls_parser/hls_playlist_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
cupertino_icons |
^1.0.8 |
1.0.9 | 1.0.9 | |
flutter_widget_from_html_core |
^0.17.0 |
0.17.2 | 0.17.2 | |
meta |
^1.17.0 |
1.18.0 | 1.18.2 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 | |
wakelock_plus |
^1.5.1 |
1.6.1 | 1.6.1 | |
xml |
^6.6.1 |
6.6.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_assets |
- | 1.2.1 | 1.2.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.12 | 0.7.13 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
hooks |
- | 2.0.2 | 2.0.2 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
jni |
- | 1.0.0 | 1.0.0 | |
jni_flutter |
- | 1.0.1 | 1.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
objective_c |
- | 9.4.1 | 9.4.1 | |
package_config |
- | 2.2.0 | 2.2.0 | |
package_info_plus |
- | 10.1.0 | 10.1.0 | |
package_info_plus_platform_interface |
- | 4.1.0 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
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 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 0.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
wakelock_plus_platform_interface |
- | 1.5.1 | 1.5.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.3.0 | 6.3.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.6.1` on xml does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions xml to update the constraint.
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.23.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.