mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This: - Adds asserts all over the place to make sure things are working right with respect to the parent pointer. - Fixes the bugs those asserts uncovered. It turns out we were failing to update the parent pointer in a couple of cases: when the child hadn't changed (but the parent had), and when the node was replaced. - Remove the operator[] nonsense in scaffold. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1218183009.