diff --git a/thermion_flutter/thermion_flutter/lib/thermion/thermion_flutter_plugin.dart b/thermion_flutter/thermion_flutter/lib/thermion/thermion_flutter_plugin.dart index da02e615..8892ebb3 100644 --- a/thermion_flutter/thermion_flutter/lib/thermion/thermion_flutter_plugin.dart +++ b/thermion_flutter/thermion_flutter/lib/thermion/thermion_flutter_plugin.dart @@ -80,9 +80,9 @@ class ThermionFlutterPlugin { } static Future createTexture( - int width, int height, int offsetLeft, int offsetRight) async { + double width, double height, double offsetLeft, double offsetRight, double pixelRatio) async { return ThermionFlutterPlatform.instance - .createTexture(width, height, offsetLeft, offsetRight); + .createTexture(width, height, offsetLeft, offsetRight, pixelRatio); } static Future destroyTexture(ThermionFlutterTexture texture) async {