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

This commit is contained in:
Nick Fisher
2024-09-05 17:43:04 +08:00
parent 683105c4f7
commit abe6e1fcb8
2 changed files with 22 additions and 5 deletions

View File

@@ -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);
}