Cause the entire subtree rooted at the given RenderObject to be marked
dirty for layout, paint, etc. This is called by the RendererBinding in
response to the ext.flutter.reassemble
hook, which is used by
development tools when the application code has changed, to cause the
widget tree to pick up any changed implementations.
This is expensive and should not be called except during development.
See also:
Source
void reassemble() { _performLayout = performLayout; markNeedsLayout(); markNeedsCompositingBitsUpdate(); markNeedsPaint(); markNeedsSemanticsUpdate(); visitChildren((RenderObject child) { child.reassemble(); }); }