Remove AbstractNode from RenderObject and deprecate it (#128973)

It's time to say good bye to an old friend. 
It has outlived its usefulness.
Farewell, AbstractNode! 🫡
This commit is contained in:
Michael Goderbauer
2023-06-16 09:16:36 -07:00
committed by GitHub
parent fc8856eb80
commit 5ab5d82a39
25 changed files with 193 additions and 152 deletions

View File

@@ -320,7 +320,7 @@ mixin CommandHandlerFactory {
SemanticsNode? node;
while (renderObject != null && node == null) {
node = renderObject.debugSemantics;
renderObject = renderObject.parent as RenderObject?;
renderObject = renderObject.parent;
}
if (node == null) {
throw StateError('No semantics data found');