vega_embed_flutter 0.7.0-null-safety
vega_embed_flutter: ^0.7.0-null-safety copied to clipboard
A Flutter widget to embed vega-lite charts to flutter web. Works well in Flutter web. An experimental webview based widget is also exposed which can be used in mobile[WIP].
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
73 out of 130 API elements (56.2 %) have documentation comments.
Some symbols that are missing documentation: vega_embed_flutter, vega_embed_webview, vega_embed_webview.Actions.compiled, vega_embed_webview.Actions.copyWith, vega_embed_webview.Actions.editor.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform iOS
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform Windows
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform Linux
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
Package not compatible with platform macOS
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:vega_embed_flutter/vega_embed_flutter.dartthat imports:package:vega_embed_flutter/src/vega_interops.dartthat imports:package:js/js.dartthat imports:dart:js
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 73 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/web_view/vega_embed_options.freezed.dart:538:17
╷
538 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web_view/vega_embed_options.freezed.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/web_view/vega_embed_options.freezed.dart:889:17
╷
889 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/web_view/vega_embed_options.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
freezed_annotation |
^0.14.1 |
0.14.3 | 3.1.0 | |
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
pedantic |
^1.11.0 |
1.11.1 | 1.11.1 | Discontinued |
webview_flutter |
^2.0.4 |
2.8.0 | 4.13.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
webview_flutter_android |
- | 2.10.4 | 4.10.11 | |
webview_flutter_platform_interface |
- | 1.9.5 | 2.14.0 | |
webview_flutter_wkwebview |
- | 2.9.5 | 3.23.5 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^0.14.1` on freezed_annotation does not support the stable version `0.15.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
The constraint `^0.6.3` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js 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.23.3, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.