feat: add ThermionFlutterOptions classes, rename interface parameter for offsetTop and ensure pixelRatio is passed to resizeTexture

This commit is contained in:
Nick Fisher committed 2024-10-23 14:44:32 +08:00
1 parent 1bdf6888c6
commit a552c11983
2 files changed
+22 -5

No files matched your search

@@ -0,0 +1,8 @@
import 'package:thermion_flutter_platform_interface/thermion_flutter_platform_interface.dart';
class ThermionFlutterWebOptions extends ThermionFlutterOptions {
bool createCanvas;
bool importCanvasAsWidget;
ThermionFlutterWebOptions({this.importCanvasAsWidget = false, this.createCanvas = true, String? uberarchivePath}) : super(uberarchivePath:uberarchivePath);
}