remove FilamentController size property to abstract and make all methods return Futures

This commit is contained in:
Nick Fisher
2023-10-03 14:22:04 +08:00
parent 90e1de2e67
commit d24a6135d5
2 changed files with 31 additions and 29 deletions

View File

@@ -14,7 +14,6 @@ class FilamentControllerFFI extends FilamentController {
late MethodChannel _channel = MethodChannel("app.polyvox.filament/event");
double _pixelRatio = 1.0;
ui.Size size = ui.Size.zero;
int? _textureId;
final _textureIdController = StreamController<int?>.broadcast();