flutter_surface_plugin 0.0.1
flutter_surface_plugin: ^0.0.1 copied to clipboard
flutter 基于gsy二次封装的播放器,底层依旧是ijk
We analyzed this package 25 hours ago, and awarded it 80 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.
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
150 out of 216 API elements (69.4 %) have documentation comments.
Some symbols that are missing documentation: fijk2player, fijk2player.FijkData, fijk2player.FijkData.FijkData.new, fijk2player.FijkData.clearValue, fijk2player.FijkData.contains.
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_surface_plugin/core/fijklog.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_surface_plugin/core/fijklog.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_surface_plugin/core/fijklog.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_surface_plugin/core/fijklog.dartthat declares support for platforms:Android,iOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 39 issues. Showing the first 2:
ERROR: The method 'hashValues' isn't defined for the type 'FijkValue'.
lib/core/fijkvalue.dart:229:23
╷
229 │ int get hashCode => hashValues(
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/fijkvalue.dart
ERROR: The method 'hashValues' isn't defined for the type 'FijkException'.
lib/core/fijkvalue.dart:350:23
╷
350 │ int get hashCode => hashValues(code, message);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/fijkvalue.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.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.0 | |
vector_math |
- | 2.2.0 | 2.2.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 7 errors:
UNDEFINED_METHOD-lib/core/fijkvalue.dart:229:23- The method 'hashValues' isn't defined for the type 'FijkValue'.UNDEFINED_METHOD-lib/core/fijkvalue.dart:350:23- The method 'hashValues' isn't defined for the type 'FijkException'.UNDEFINED_METHOD-lib/core/fijkview.dart:291:24- The method 'setEnabledSystemUIOverlays' isn't defined for the type 'SystemChrome'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.