vega_embed_flutter 0.7.0-null-safety copy "vega_embed_flutter: ^0.7.0-null-safety" to clipboard
vega_embed_flutter: ^0.7.0-null-safety copied to clipboard

Platformweb
outdated

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].

130/ 160
pub points
71
downloads

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:vega_embed_flutter/vega_embed_flutter.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:vega_embed_flutter/vega_embed_flutter.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:vega_embed_flutter/vega_embed_flutter.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:vega_embed_flutter/vega_embed_flutter.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that imports:
  • dart:js

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:vega_embed_flutter/vega_embed_flutter.dart that imports:
  • package:vega_embed_flutter/src/vega_interops.dart that imports:
  • package:js/js.dart that 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
5
likes
130
points
71
downloads

Publisher

verified publisherabhilash-chandran.com

Weekly Downloads

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].

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, js, pedantic, webview_flutter

More

Packages that depend on vega_embed_flutter