mpflutter_wegame_api 2.5.1
mpflutter_wegame_api: ^2.5.1 copied to clipboard
The MPFlutter wechat minigame api.
We analyzed this package 2 days ago, and awarded it 85 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.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:2:43
╷
2 │ <p>微信小程序 API 封装库,专用于 MPFlutter 2.0,使用方法请参考<a href="http://v2.mpflutter.com/">文档</a>。</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
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
0 out of 5853 API elements (0.0 %) 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: mpflutter_wegame_api
, mpflutter_wegame_api.AccessCompleteCallback
, mpflutter_wegame_api.AccessFailCallback
, mpflutter_wegame_api.AccessOption
, mpflutter_wegame_api.AccessOption.$$context$$
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:mpflutter_wegame_api/mpflutter_wegame_api.dart
that imports:package:mpflutter_core/mpjs/mpjs.dart
that imports:package:mpflutter_core/mpjs/mpjs_dev_impl.dart
that imports:package:mpflutter_core/dev_app/dev_mpjs_host.dart
that imports:package:mpflutter_core/mpflutter_core.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:mpflutter_wegame_api/mpflutter_wegame_api.dart
that imports:package:mpflutter_core/mpjs/mpjs.dart
that imports:package:mpflutter_core/mpjs/mpjs_dev_impl.dart
that imports:package:mpflutter_core/dev_app/dev_mpjs_host.dart
that imports:package:mpflutter_core/mpflutter_core.dart
that imports:package:window_manager/window_manager.dart
that declares support for platforms:Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mpflutter_wegame_api/mpflutter_wegame_api.dart
that imports:package:mpflutter_core/mpjs/mpjs.dart
that imports:package:mpflutter_core/mpjs/mpjs_dev_impl.dart
that imports:package:mpflutter_core/dev_app/dev_server.dart
that imports:dart:isolate
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 506 issues. Showing the first 2:
INFO: Assignment to a variable of type 'void'.
lib/mpflutter_wegame_api.dart:147:5
╷
147 │ return result;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mpflutter_wegame_api.dart
INFO: Assignment to a variable of type 'void'.
lib/mpflutter_wegame_api.dart:152:5
╷
152 │ return result;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mpflutter_wegame_api.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
mpflutter_core |
>=2.0.0 |
2.8.0 | 2.8.0 |
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 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
screen_retriever |
- | 0.1.9 | 0.2.0 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
visibility_detector |
- | 0.4.0+2 | 0.4.0+2 | |
web |
- | 0.5.1 | 1.1.1 | |
window_manager |
- | 0.3.9 | 0.5.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 2 errors:
UNDEFINED_METHOD
-lib/mpflutter_wegame_api.dart:26625:32
- The method 'callMethodAwaitPromise' isn't defined for the type 'JSObject'.UNDEFINED_METHOD
-lib/mpflutter_wegame_api.dart:26630:32
- The method 'callMethodAwaitPromise' isn't defined for the type 'JSObject'.
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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.