diff --git a/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart b/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart index b2681cd7..6f895fb2 100644 --- a/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart +++ b/thermion_flutter/thermion_flutter_method_channel/lib/src/thermion_flutter_method_channel_platform.dart @@ -88,7 +88,7 @@ class ThermionFlutterMethodChannelPlatform extends ThermionFlutterPlatform { final config = FFIFilamentConfig( backend: backend, - resourceLoader: loadAsset, + loadResource: loadAsset, platform: platformPtr, sharedContext: sharedContextPtr, uberArchivePath: options.uberarchivePath); @@ -103,9 +103,7 @@ class ThermionFlutterMethodChannelPlatform extends ThermionFlutterPlatform { }); } - final viewer = ThermionViewerFFI( - loadAssetFromUri: loadAsset, - ); + final viewer = ThermionViewerFFI(); await viewer.initialized;