Uh oh!
There was an error while loading. Please reload this page.
Make Element tree root generic - #123352
Conversation
goderbauer
commented
Mar 23, 2023
The fix for the flutter_plugins check is flutter/packages#3539. |
There was a problem hiding this comment.
You could also mention that it is no longer used by Flutter.
f6315eb to
f5f884eComparef5f884e to
b657ffaComparegoderbauer
commented
Mar 27, 2023
flutter/packages#3539 has rolled into the framework in #123542. |
auto label is removed for flutter/flutter, pr: 123352, due to - The status or check suite Linux customer_testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
goderbauer
commented
Mar 27, 2023
customer_testing failures are (unrelated) flakes hopefully fixed with flutter/tests#239. |
auto label is removed for flutter/flutter, pr: 123352, due to - The status or check suite customer_testing-linux has failed. Please fix the issues identified (or deflake) before re-applying this label. |

Part of #121573.
This change allows the root of the element tree to be any
Element(not just aRenderObjectElement). For that, it introduces theRootElementMixin, which can be used to make any Element subclass the root of the element tree. It replaces theRootRenderObjectElement, which is now deprecated in favor of the new mixin. In addition to that, it renames therenderViewElementaccessor on the WidgetsBinding torootElementto remove the implied assumption that the root is aRenderObjectElement.This is in preparation for further changes towards multi-view rendering, where the root of the element tree will not be backed by render objects, see https://docs.flutter.dev/go/multiple-views for the details of that.