universal_echarts 1.0.0+3 universal_echarts: ^1.0.0+3 copied to clipboard
A new Flutter project.
We analyzed this package 3 days ago, and awarded it 60 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.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 3 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: universal_echarts
, universal_echarts.UniversalEcharts
, universal_echarts.UniversalEcharts.drawChart
.
10/10 points: Package has an example
20/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:universal_echarts/universal_echarts.dart
that imports:package:universal_echarts/src/mobile.dart
that imports:package:flutter_echarts/flutter_echarts.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:universal_echarts/universal_echarts.dart
that imports:package:universal_echarts/src/mobile.dart
that imports:package:flutter_echarts/flutter_echarts.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:universal_echarts/universal_echarts.dart
that imports:package:universal_echarts/src/mobile.dart
that imports:package:flutter_echarts/flutter_echarts.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The argument type 'void Function()?' can't be assigned to the parameter type 'void Function(WebViewController)?'.
lib/src/mobile.dart:98:19
╷
98 │ onLoad: onLoad,
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mobile.dart
ERROR: The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.
lib/src/web.dart:140:8
╷
140 │ ui.platformViewRegistry.registerViewFactory('iframe-echart', (int viewId) {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_echarts |
^2.0.0 |
2.5.0 | 2.5.0 |
flutter_markdown |
^0.6.1 |
0.6.9+1 | 0.7.1 |
html2md |
^1.0.1 |
1.3.2 | 1.3.2 |
markdown |
^4.0.0 |
4.0.1 | 7.2.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.5.0 | 2.5.0 |
characters |
- | 1.3.0 | 1.3.0 |
charcode |
- | 1.3.1 | 1.3.1 |
collection |
- | 1.18.0 | 1.18.0 |
csslib |
- | 1.0.0 | 1.0.0 |
html |
- | 0.15.4 | 0.15.4 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
webview_flutter |
- | 4.8.0 | 4.8.0 |
webview_flutter_android |
- | 3.16.4 | 3.16.4 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
webview_flutter_wkwebview |
- | 3.13.1 | 3.13.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.1` on flutter_markdown does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions flutter_markdown
to update the constraint.
The constraint `^4.0.0` on markdown does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions markdown
to update the constraint.
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 1 error:
UNDEFINED_PREFIXED_NAME
-lib/src/web.dart:140:8
- The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.
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.5
, Flutter 3.22.1
, Dart 3.4.1
.
Check the analysis log for details.