We’ve added a new widget profiler to the Inspector! It helps the user determine when widgets are rebuilding, and makes it easier to understand the rebuild behavior of your app and optimize it.
To try it out, go to the Flutter Inspector > Performance tab and check the “Show widget rebuild indicators” checkbox.
Every time a widget rebuilds you’ll see animated icons in the gutter of the source file containing the widget. Clicking on the gutter icon will give you more detailed information of how frequently widgets from the particular line were rebuilt.
This feature helps you diagnose cases where widgets are being rebuilt more than you might expect reducing app performance.
We’ll also automatically display performance tips for some cases where we recognize common patterns that can be optimized in order to reduce the number of rebuilds. The tips are based on the live rebuild counts so you must check “Show widget rebuild indicators” to see them.
As always, be sure to run in profile mode to make sure performance is really a concern before prematurely optimizing to reduce widget rebuilds.
The flutter attach functionality, launched in the previous release for Android Studio, is now available in IntelliJ. Flutter attach allows you to connect to a Flutter view in an iOS or Android app, and is generally used in an add2app context.
To use it, click the ‘Flutter attach’ toolbar button, then start your iOS or Android app.
Logging view tweaks (to de-emphasize log entry severities)
Support offline project creation in the AS wizard
Code cleanup and bug fixes