flutter_base_player 0.2.1
flutter_base_player: ^0.2.1 copied to clipboard
Universal video player for flutter
We analyzed this package 11 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/zhahouming/flutter_base_player/flutter_base_player 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/zhahouming/flutter_base_player/flutter_base_player 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
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 103 API elements (2.9 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: change_notifier_builder, change_notifier_builder.ChangeNotifierBuilder, change_notifier_builder.ChangeNotifierBuilder.ChangeNotifierBuilder.new, change_notifier_builder.ChangeNotifierBuilder.builder, change_notifier_builder.ChangeNotifierBuilder.notifier.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:flutter_base_player/flutter_base_player.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
ERROR: Missing concrete implementation of 'abstract class FlutterBasePlayerPlatform extends PlatformInterface.setProperty'.
lib/flutter_base_player_media_kit.dart:10:7
╷
10 │ class FlutterBasePlayerMediaKitPlayer extends FlutterBasePlayerPlatform {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_base_player_media_kit.dart
ERROR: The getter 'width' isn't defined for the type 'VideoController'.
lib/flutter_base_player_media_kit.dart:129:33
╷
129 │ double width = _controller?.width?.toDouble() ?? 480;
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_base_player_media_kit.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_base_player_platform_interface |
^0.1.8 |
0.1.9 | 0.2.0 | |
media_kit |
^0.0.5 |
0.0.11 | 1.2.6 | |
media_kit_libs_android_video |
^1.0.0 |
1.3.8 | 1.3.8 | |
media_kit_libs_ios_video |
^1.0.4 |
1.1.4 | 1.1.4 | |
media_kit_libs_linux |
^1.0.2 |
1.2.1 | 1.2.1 | |
media_kit_libs_macos_video |
^1.0.4 |
1.1.4 | 1.1.4 | |
media_kit_libs_windows_video |
^1.0.2 |
1.0.11 | 1.0.11 | |
media_kit_native_event_loop |
^1.0.3 |
1.0.9 | 1.0.9 | |
media_kit_video |
^0.0.5 |
0.0.12 | 2.0.1 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http |
- | 0.13.6 | 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 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
safe_local_storage |
- | 1.0.2 | 2.0.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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 | |
uri_parser |
- | 2.0.2 | 3.0.2 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^0.1.8` on flutter_base_player_platform_interface does not support the stable version `0.2.0`.
Try running dart pub upgrade --major-versions flutter_base_player_platform_interface to update the constraint.
The constraint `^0.0.5` on media_kit does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions media_kit 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.