flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.59k stars 326 forks source link

Change inspector expansion strategy #6997

Open kenzieschmoll opened 11 months ago

kenzieschmoll commented 11 months ago

Instead of expanding the entire inspector summary tree by default, we should switch to expanding only to the selected widget. This means that only nodes on the direct path to the selected widget would be expanded. This would help to limit the case where we have lots of whitespace and guidelines that make the tree hard to navigate:

Screenshot 2023-12-20 at 3 02 00 PM

This pattern is consistent with some internal android tooling does.

jacob314 commented 10 months ago

This seems like a good thing to prioritize. This can be solved purely on the client side in DevTools.