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

Time:11-25

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.

CodePudding user response:

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.

  • Related