various fixes for publishing all packages to pub.dev

This commit is contained in:
Nick Fisher
2024-06-16 15:03:52 +08:00
parent 19c29adb97
commit 91e41c4eb3
33 changed files with 2599 additions and 484 deletions

View File

@@ -137,6 +137,7 @@ class ThermionFlutterFFI extends ThermionFlutterPlatform {
if (texture.hardwareTextureId != null) {
print("Creating render target");
// ignore: unused_local_variable
var renderTarget = await viewer.createRenderTarget(
width.toDouble(), height.toDouble(), texture.hardwareTextureId!);
}
@@ -197,6 +198,7 @@ class ThermionFlutterFFI extends ThermionFlutterPlatform {
: Pointer<Void>.fromAddress(newTexture.surfaceAddress!));
if (newTexture.hardwareTextureId != null) {
// ignore: unused_local_variable
var renderTarget = await viewer.createRenderTarget(
width.toDouble(), height.toDouble(), newTexture.hardwareTextureId!);
}