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 ce8b3975..3b0c9c21 100644 --- a/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart +++ b/thermion_flutter/thermion_flutter_web/lib/thermion_flutter_web.dart @@ -93,14 +93,14 @@ class ThermionFlutterWebPlugin extends ThermionFlutterPlatform { final config = FFIFilamentConfig( backend: Backend.OPENGL, - resourceLoader: loadAsset, + loadResource: loadAsset, platform: nullptr, sharedContext: nullptr, uberArchivePath: options.uberarchivePath); await FFIFilamentApp.create(config: config); } - final viewer = ThermionViewerFFI(loadAssetFromUri: loadAsset); + final viewer = ThermionViewerFFI(); await viewer.initialized; await viewer.setViewport(canvas!.width, canvas.height);