Notes from "What I learned"
- js export doesn't work, use
(<any>window).functionName
to register js functions - Putting HTML element inside Flutter Web Widget is possible using
HtmlElementView
(but expensive)
- Call methods and variables from JavaScript file (by channeling) using
js.context.callMethod('functionName, args')
- Weird
platformViewRegistry
error but solved by ignoring
- Conditional export/import on dart