mpflutter_core 2.7.6 mpflutter_core: ^2.7.6 copied to clipboard
The MPFlutter Library
We analyzed this package 4 days 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 60 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
`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.
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.
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
25 out of 259 API elements (9.7 %) 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: dev_mpjs_host
, dev_mpjs_host.DevMPJSHost
, dev_mpjs_host.DevMPJSHost.DevMPJSHost
, dev_mpjs_host.DevMPJSHost.applyFunction
, dev_mpjs_host.DevMPJSHost.callMethod
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
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_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 `Web`.
Because:
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_core/mpflutter_core.dart
that imports:package:mpflutter_core/image/mpflutter_image_encoder.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
WARNING: Unnecessary cast.
lib/image/mpflutter_network_image_js.dart:75:25
╷
75 │ codec: _loadAsync(key as NetworkImage, decode, chunkEvents),
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/image/mpflutter_network_image_js.dart
WARNING: Unnecessary cast.
lib/image/mpflutter_network_image_js.dart:93:25
╷
93 │ codec: _loadAsync(key as NetworkImage, decode, chunkEvents),
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/image/mpflutter_network_image_js.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.11.0 |
2.12.0 | 2.12.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
uuid |
^4.2.1 |
4.5.1 | 4.5.1 |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 |
web |
>=0.3.0 <0.6.0 |
0.5.1 | 1.1.0 |
window_manager |
^0.3.7 |
0.3.9 | 0.4.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
fixnum |
- | 1.1.1 | 1.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
screen_retriever |
- | 0.1.9 | 0.2.0 |
sky_engine |
- | 0.0.0 | 0.0.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.3.0 <0.6.0` on web does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions web
to update the constraint.
The constraint `^0.3.7` on window_manager does not support the stable version `0.4.0`.
Try running dart pub upgrade --major-versions window_manager
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.