niuma_player 0.5.2
niuma_player: ^0.5.2 copied to clipboard
Flutter video player SDK with unified API across iOS / Android / Web, plus automatic ExoPlayer to IJK fallback on Android.
We analyzed this package 5 days ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
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
246 out of 295 API elements (83.4 %) have documentation comments.
Some symbols that are missing documentation: niuma_player.BackendFactory.BackendFactory.new, niuma_player.BackendSelected.BackendSelected.new, niuma_player.BackendSelected.kind, niuma_player.DefaultBackendFactory.DefaultBackendFactory.new, niuma_player.DefaultPlatformBridge.DefaultPlatformBridge.new.
10/10 points: Package has an example
10/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:niuma_player/niuma_player.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:niuma_player/niuma_player.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:niuma_player/niuma_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 not compatible with platform Web
Because:
package:niuma_player/niuma_player.dartthat imports:package:niuma_player/src/player/niuma_gesture_controller.dartthat imports:package:niuma_player/src/player/niuma_player_controller.dartthat imports:package:niuma_player/src/data/default_platform_bridge.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:niuma_player/niuma_player.dartthat imports:package:niuma_player/src/player/niuma_gesture_controller.dartthat imports:package:niuma_player/src/player/niuma_player_controller.dartthat imports:package:niuma_player/src/data/default_platform_bridge.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/niuma_player/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.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
clock |
^1.1.1 |
1.1.2 | 1.1.2 | |
meta |
^1.10.0 |
1.19.0 | 1.19.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
video_player |
>=2.10.0 <3.0.0 |
2.14.0 | 2.14.0 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 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.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
video_player_android |
- | 2.12.0 | 2.12.0 | |
video_player_avfoundation |
- | 2.11.0 | 2.11.0 | |
video_player_platform_interface |
- | 6.9.0 | 6.9.0 | |
video_player_web |
- | 2.4.0 | 2.4.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.