yu_ni_player_base 1.0.2
yu_ni_player_base: ^1.0.2 copied to clipboard
Abstract base library for yu_ni_player multi-engine Flutter video player plugin with zero-dependency on specific SDKs.
We analyzed this package 9 days ago, and awarded it 135 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` does not contain reference to the current version ("1.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
138 out of 175 API elements (78.9 %) have documentation comments.
Some symbols that are missing documentation: yu_ni_player_base.PlatformKey.android, yu_ni_player_base.PlatformKey.defaultKey, yu_ni_player_base.PlatformKey.ios, yu_ni_player_base.PlatformKey.linux, yu_ni_player_base.PlatformKey.macos.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 not compatible with platform Web
Because:
package:yu_ni_player_base/yu_ni_player_base.dartthat imports:package:yu_ni_player_base/src/ui/yu_ni_player_widget.dartthat imports:package:yu_ni_player_base/src/core/yu_ni_player_engine.dartthat imports:package:yu_ni_player_base/src/core/yu_ni_video_source.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: The import of '../core/yu_ni_player_state.dart' is unnecessary because all of the used elements are also provided by the import of 'package:yu_ni_player_base/yu_ni_player_base.dart'.
lib/src/ui/yu_ni_player_controls.dart:6:8
╷
6 │ import '../core/yu_ni_player_state.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/yu_ni_player_controls.dart
INFO: Use 'const' with the constructor to improve performance.
lib/src/ui/yu_ni_player_controls.dart:273:31
╷
273 │ decoration: BoxDecoration(
│ ┌───────────────────────────────^
274 │ │ color: Colors.black54,
275 │ │ shape: BoxShape.circle,
276 │ │ ),
│ └───────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/yu_ni_player_controls.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
vector_math |
- | 2.4.2 | 2.4.2 |
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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.