fluttercommunity / fluttercommunity/flutter_webview_plugin

Whats the best way to go about using a plugin that was made to already use dart:js?

Offen
#490 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.5k
Forks
938
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hey there,
I am wanting to use a plugin in Flutter somehow that was made to be used in Dart with dart:js and dart:html.
This is the plugin I wanted to use: https://github.com/mdemyanov/dart_apex_charts/

It essentially would let you use apexcharts.min.js and apexcharts.css, you would build the chart info in dart and then call chart.render() and it would show your chart. I am wondering if anyone can point me in the right direction on where I might be able to find examples or instructions on how I might adapt this to work with Flutter webview? I would imagine that it should work, just not the same as the original plugin? While I have not used webview before and I am not great with JS, if anyone knows a repo or something in which there is an example of doing something similar with another plugin I would be able to figure it out.

Thanks,
-MH

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.