flutter/packages
Michael Goderbauer 3da5ff5490
Fix ParentDataWidget crash for multi view scenarios (#142486)
Fixes https://github.com/flutter/flutter/issues/142480.

This fixes a crash occurring during hot reload when a `ViewAnchor` is used between a `ParentDataWidget` (like `Positioned`) and its closest `RenderObject` descendant. Prior to the fix, the `ParentDataWidget` was accidentally applying its parent data to the render object in the `ViewAnchor.view` slot, which crashed because that render object wasn't (and shouldn't be) setup to accept parent data (after all, it is in a different render tree). Instead, the parent data should only be applied to the render object in the `ViewAnchor.child` slot. Luckily, with `Element.renderObjectAttachingChild` we already have API in place to walk the widget tree such as that only `RenderObjectWidgets` from the same render tree are considered.
2024-01-31 19:22:07 +00:00
..
flutter Fix ParentDataWidget crash for multi view scenarios (#142486) 2024-01-31 19:22:07 +00:00
flutter_driver Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
flutter_goldens Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
flutter_localizations Fix incorrect zh-cn translation for Look Up Label in selection controls (#142158) 2024-01-25 10:24:42 -08:00
flutter_test Reset framesEnabled to default value at the end of each test (#141844) 2024-01-30 16:04:15 +00:00
flutter_tools Revert "Reland: "Fix how Gradle resolves Android plugin" (#137115)" (#142464) 2024-01-29 22:44:24 +00:00
flutter_web_plugins Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
fuchsia_remote_debug_protocol Upgrade leak_tracker. (#142162) 2024-01-24 15:33:17 -08:00
integration_test Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
analysis_options.yaml