chore: temporarily disable ThermionWidgetWebImpl

This commit is contained in:
Nick Fisher
2024-11-13 10:53:45 +08:00
parent 853f1d1a68
commit 8a3525d879

View File

@@ -16,13 +16,13 @@ class ThermionWidgetWeb extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
if (_texture == null || _resizing) { // if (_texture == null || _resizing) {
return widget.initial ?? Container(color: Colors.red); // return widget.initial ?? Container(color: Colors.red);
} // }
return ResizeObserver( // return ResizeObserver(
onResized: _resizeTexture, // onResized: _resizeTexture,
child: ThermionWidgetWeb( // child: ThermionWidgetWeb(
options: widget.options as ThermionFlutterWebOptions?)); // options: widget.options as ThermionFlutterWebOptions?));
if (options?.importCanvasAsWidget == true) { if (options?.importCanvasAsWidget == true) {
return _ImageCopyingWidget(); return _ImageCopyingWidget();