LayoutBuilder + GlobalKey + setState assert (#6068)
This silences an assertion that fired when reparenting a widget with a global key inside a LayoutBuilder callback when that callback also happened to call setState (directly or indirectly) on that widget. Normally such setStates are considered ok since we know we haven't cleaned that subtree yet, but we were not correctly handling the case where the list needed resorting in that situation.
Showing
Please register or sign in to comment