Flutter : How to Debug which widgets re-rendered on state change
问题 I am using Redux with Flutter for state management. Whenever I dispatch an action, I want to know which widgets were re-rendered. Is there any way of doing it? 回答1: In flutter, whenever one widget update ; the whole widget tree repaint. So... no. But you can also introduce "repaint boundaries" manually by inserting in your tree a RepaintBoundary widget. This explicitly tells flutter to create a new painting layer for it's child (which implies memory cache). So that whenever that child updates