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