Did you know?

debugRepaintRainbowEnabled helps you discover widgets/areas that unexpectedly repaint in your app.

Here’s how to set it 👇

How to use debugRepaintRainbowEnabled

If you discover widgets that repaint when they shouldn’t, wrap them with RepaintBoundary.

This can improve rendering performance, but only use it when necessary (RepaintBoundary has some extra CPU/memory cost).

Learn more here:

Happy coding!