Skip to content

Commit 1c1aa59

Browse files
committed
Merge pull request flutter#4433 from alhaad/fix_adding_child_view
Fix adding child views to container after changes to dart bindings.
2 parents 7ac0ce7 + a880ced commit 1c1aa59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/flutter/lib/src/rendering/child_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ChildViewConnection {
127127
assert(_viewKey == null);
128128
assert(_viewInfo == null);
129129
_viewKey = _nextViewKey++;
130-
_viewContainer?.addChild(_viewKey, _viewOwner.impl);
130+
_viewContainer?.addChild(_viewKey, _viewOwner);
131131
_viewOwner = null;
132132
assert(!_ViewContainerListenerImpl.instance._connections.containsKey(_viewKey));
133133
_ViewContainerListenerImpl.instance._connections[_viewKey] = this;

0 commit comments

Comments
 (0)