An Opacity widget is placed unnecessarily high in the widget tree.
Or, an Opacity animation is created by directly manipulating the
opacity property of the Opacity widget, causing the widget itself
and its subtree to rebuild.

You can click on a line in the table to navigate to the line
in the source where the widget is created. As the code runs,
the spinning icons also display in the code pane to help you
visualize which rebuilds are happening.

Note that numerous rebuilds doesn’t necessarily indicate a problem.
Typically you should only worry about excessive rebuilds if you have
already run the app in profile mode and verified that the performance
is not what you want.

And remember, the widget rebuild information is only available in
a debug build. Test the app’s performance on a real device in a profile
build, but debug performance issues in a debug build.

Editing tips for Flutter code

If you have additional tips we should share, let us know!