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
Widget build(BuildContext context) {
if (_texture == null || _resizing) {
return widget.initial ?? Container(color: Colors.red);
}
return ResizeObserver(
onResized: _resizeTexture,
child: ThermionWidgetWeb(
options: widget.options as ThermionFlutterWebOptions?));
// if (_texture == null || _resizing) {
// return widget.initial ?? Container(color: Colors.red);
// }
// return ResizeObserver(
// onResized: _resizeTexture,
// child: ThermionWidgetWeb(
// options: widget.options as ThermionFlutterWebOptions?));
if (options?.importCanvasAsWidget == true) {
return _ImageCopyingWidget();