Is it possible to use JS visual libraries (e.g. Chart.js or D3.js) in Flutter?


If it is possible, how exactly does it work? Maybe it’s possible to access Flutter’s Canvas widget through JS?

My best guess for this would be the flutter_js package.


I wouldn’t say that it’s not possible, but in order to implement it from the start will be very hard and long work.

instead of it, I could say the better solution, is to implement what you want with javascript development, and just use the web_view package and set a WebView of it inside your flutter application, with data exchange via the JavascriptChannel property.

Answered By – Gwhyyy

Answer Checked By – Marie Seifert (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *