registerWith static method
Implementation
static void registerWith(Registrar registrar) {
LibsimpleFlutterPlatform.instance = LibsimpleFlutterWeb();
if (html.querySelector('#sqlite3script') == null) {
//developing hot reload will do this multi times
var sqlite3script = html.ScriptElement();
sqlite3script.text = script;
sqlite3script.id = 'sqlite3script';
html.querySelector("head")?.children.add(sqlite3script);
}
}