fix!: (flutter) pass pixelRatio to createTexture

This commit is contained in:
Nick Fisher committed 2024-10-23 14:44:30 +08:00
1 parent 8ac9876ec3
commit ab4f721914
1 file changed
+1 -1
@@ -20,7 +20,7 @@ abstract class ThermionFlutterPlatform extends PlatformInterface {
Future<ThermionViewer> createViewer({String? uberArchivePath}); Future<ThermionViewer> createViewer({String? uberArchivePath});
Future<ThermionFlutterTexture?> createTexture( Future<ThermionFlutterTexture?> createTexture(
int width, int height, int offsetLeft, int offsetRight); double width, double height, double offsetLeft, double offsetRight, double pixelRatio);
Future destroyTexture(ThermionFlutterTexture texture); Future destroyTexture(ThermionFlutterTexture texture);