dont pass plugin before initialization to ExampleViewport
This commit is contained in:
@@ -110,7 +110,7 @@ class ExampleWidgetState extends State<ExampleWidget> {
|
|||||||
if (isInitialized)
|
if (isInitialized)
|
||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
child: ExampleViewport(
|
child: ExampleViewport(
|
||||||
controller: _plugin,
|
controller: isInitialized ? _plugin : null,
|
||||||
entityTransformController: _transformController,
|
entityTransformController: _transformController,
|
||||||
padding: _viewportMargin,
|
padding: _viewportMargin,
|
||||||
keyboardFocusNode: _sharedFocusNode),
|
keyboardFocusNode: _sharedFocusNode),
|
||||||
|
|||||||
Reference in New Issue
Block a user