You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'A RenderLayoutTestBox was mutated in RenderLayoutTestBox.performLayout.\n'
141
+
'A RenderObject must not mutate another RenderObject from a different render subtree in its performLayout method.\n'
142
+
'The RenderObject being mutated was:\n'
143
+
'${child1.toStringShort()}\n'
144
+
'The RenderObject that was mutating the said RenderLayoutTestBox was:\n'
145
+
'${child2.toStringShort()}\n'
146
+
'Their common ancestor was:\n'
147
+
'${block.toStringShort()}\n'
148
+
'Mutating the layout of another RenderObject may cause some RenderObjects in its subtree to be laid out more than once. Consider using the LayoutBuilder widget to dynamically mutate a subtree during layout.'
149
+
)
150
+
);
151
+
});
152
+
153
+
test('marking a descendant dirty in performLayout', () {
'A RenderLayoutTestBox was mutated in RenderFlex.performLayout.\n'
163
+
'A RenderObject must not mutate its descendants in its performLayout method.\n'
164
+
'The RenderObject being mutated was:\n'
165
+
'${child1.toStringShort()}\n'
166
+
'The ancestor RenderObject that was mutating the said RenderLayoutTestBox was:\n'
167
+
'${block.toStringShort()}\n'
168
+
'Mutating the layout of another RenderObject may cause some RenderObjects in its subtree to be laid out more than once. Consider using the LayoutBuilder widget to dynamically mutate a subtree during layout.'
169
+
),
170
+
);
171
+
});
172
+
173
+
test('marking an out-of-band mutation in performLayout', () {
0 commit comments