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

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add vega_embed_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  vega_embed_flutter: ^0.7.0-null-safety

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:vega_embed_flutter/vega_embed_flutter.dart';
5
likes
130
points
96
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)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, js, pedantic, webview_flutter

More

Packages that depend on vega_embed_flutter