'Can we use jointjs inside a flutter-for-web app?

While it is possible to wrap javascript stuff in dart I'm not so sure about wrapping a complex package like rappidjs or jointjs with dependencies on backbone, jquery and lodash and stuff like mouse-drag events - would this be even reasonable to embed in a flutter-for-web app? Could the UI interaction be passed down to the jointjs layer easily or would this be a huge painful hack if even possible?
Seems to me it might be easier to port it to flutter than wrap it for flutter but I'm just guessing at this point. Has anyone tried something like this?

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source