DISCOVER FLUTTER — WEEK #30
Flutter DevTools — The Last Article In My 30 Weeks Flutter Journey
Info about Flutter DevTools 2.0. and my advice on how to stay consistent with the goals you set
With the release of the Flutter 2.0 version, DevTools was renamed with Flutter DevTools to emphasize that it is a tool that should be used to debug Flutter apps. In addition, they have improved this tool a lot to make it easier for developers to find various bugs.
I will single out the next three improvements on this topic.
1. IDE can now recognize in which situations DevTools needs to be activated
With the new version of Flutter and Flutter IDE extensions, your IDE can now recognize, in certain situations, when you need to activate the dev tool. This is done, for example, when you have layout overflow exceptions.
Pressing the button that IDE displays, brings you to the Flutter Inspector (one of the DevTools feature) and signals on the widget that’s causing this trouble, so you can fix it.