chore: temporarily disable ThermionWidgetWebImpl
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user