diff --git a/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart b/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart index 2772f27e..70202023 100644 --- a/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart +++ b/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart @@ -40,7 +40,7 @@ class ThermionFlutterWebPlugin extends ThermionFlutterPlatform { return asset.buffer.asUint8List(asset.offsetInBytes); } - Future createViewer() async { + Future createViewer({bool destroySwapchain = true}) async { HTMLCanvasElement? canvas; if (FilamentApp.instance == null) { // first, try and initialize bindings to see if the user has included thermion_dart.js manually in index.html